write both types of media indexes to recording metafile

Change-Id: Ib6d5b43aa8a94ad62f73d644e5a2009d804cf17d
changes/69/12269/13
Richard Fuchs 8 years ago
parent 26ca489931
commit c5a202ebcd

@ -700,8 +700,8 @@ static void setup_stream_proc(struct packet_stream *stream) {
if (stream->recording.u.proc.stream_idx != UNINIT_IDX)
return;
len = snprintf(buf, sizeof(buf), "TAG %u MEDIA %u COMPONENT %u FLAGS %u",
ml->unique_id, media->index, stream->component,
len = snprintf(buf, sizeof(buf), "TAG %u MEDIA %u TAG-MEDIA %u COMPONENT %u FLAGS %u",
ml->unique_id, media->unique_id, media->index, stream->component,
stream->ps_flags);
append_meta_chunk(recording, buf, len, "STREAM %u details", stream->unique_id);

Loading…
Cancel
Save