mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue