projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea113a7
)
mpegtsmux: Set adaptation flag when appropriate
author
David Schleef
<ds@schleef.org>
Sun, 5 Dec 2010 11:29:42 +0000
(
03:29
-0800)
committer
David Schleef
<ds@schleef.org>
Sun, 2 Jan 2011 22:52:34 +0000
(14:52 -0800)
Specifically, when there's stuff to go into the adaptation
header.
gst/mpegtsmux/tsmux/tsmuxstream.c
patch
|
blob
|
history
diff --git
a/gst/mpegtsmux/tsmux/tsmuxstream.c
b/gst/mpegtsmux/tsmux/tsmuxstream.c
index
88d533a
..
f147bfc
100644
(file)
--- a/
gst/mpegtsmux/tsmux/tsmuxstream.c
+++ b/
gst/mpegtsmux/tsmux/tsmuxstream.c
@@
-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;
}
}