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:
7ca4ba9
)
mpegtsmux: fix key unit event handling when muxing both audio and video
author
Alessandro Decina
<alessandro.d@gmail.com>
Sun, 18 Dec 2011 16:31:18 +0000
(17:31 +0100)
committer
Alessandro Decina
<alessandro.d@gmail.com>
Sun, 18 Dec 2011 16:31:18 +0000
(17:31 +0100)
Take only video buffers into account when deciding when to cut so that new units
start with a video keyframe.
gst/mpegtsmux/mpegtsmux.c
patch
|
blob
|
history
diff --git
a/gst/mpegtsmux/mpegtsmux.c
b/gst/mpegtsmux/mpegtsmux.c
index
7d968cd
..
f204d06
100644
(file)
--- a/
gst/mpegtsmux/mpegtsmux.c
+++ b/
gst/mpegtsmux/mpegtsmux.c
@@
-888,7
+888,7
@@
mpegtsmux_collected (GstCollectPads2 * pads, MpegTsMux * mux)
return GST_FLOW_ERROR;
}
- if (mux->force_key_unit_event != NULL) {
+ if (mux->force_key_unit_event != NULL
&& best->stream->is_video_stream
) {
GstEvent *event;
event = check_pending_key_unit_event (mux->force_key_unit_event,