mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
tsdemux: Do not scan for keyframe when in push mode.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=733490
This commit is contained in:
parent
39d7d438c6
commit
29dd215649
1 changed files with 2 additions and 1 deletions
|
@ -1387,7 +1387,8 @@ gst_ts_demux_stream_added (MpegTSBase * base, MpegTSBaseStream * bstream,
|
|||
gst_flow_combiner_add_pad (demux->flowcombiner, stream->pad);
|
||||
}
|
||||
|
||||
if (bstream->stream_type == GST_MPEGTS_STREAM_TYPE_VIDEO_H264) {
|
||||
if (base->mode != BASE_MODE_PUSHING
|
||||
&& bstream->stream_type == GST_MPEGTS_STREAM_TYPE_VIDEO_H264) {
|
||||
stream->scan_function =
|
||||
(GstTsDemuxKeyFrameScanFunction) scan_keyframe_h264;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue