mpegtsmux: Set adaptation flag when appropriate
Specifically, when there's stuff to go into the adaptation header.
This commit is contained in:
parent
ea113a79aa
commit
94f6f34ace
@ -378,6 +378,7 @@ tsmux_stream_initialize_pes_packet (TsMuxStream * stream)
|
||||
TsMuxStreamBuffer *buf = (TsMuxStreamBuffer *) (stream->buffers->data);
|
||||
if (buf->random_access) {
|
||||
stream->pi.flags |= TSMUX_PACKET_FLAG_RANDOM_ACCESS;
|
||||
stream->pi.flags |= TSMUX_PACKET_FLAG_ADAPTATION;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user