mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
tsdemux: Only activate warning for real streams
streams with stream_type 0xff are PCR-only streams, it's normal not to have a pad for them.
This commit is contained in:
parent
c89844ec1e
commit
16fc431ada
1 changed files with 2 additions and 2 deletions
|
@ -1495,9 +1495,9 @@ activate_pad_for_stream (GstTSDemux * tsdemux, TSDemuxStream * stream)
|
||||||
GST_DEBUG_OBJECT (stream->pad, "sparse stream, pushing GAP event");
|
GST_DEBUG_OBJECT (stream->pad, "sparse stream, pushing GAP event");
|
||||||
gst_pad_push_event (stream->pad, gst_event_new_gap (0, 0));
|
gst_pad_push_event (stream->pad, gst_event_new_gap (0, 0));
|
||||||
}
|
}
|
||||||
} else {
|
} else if (((MpegTSBaseStream *) stream)->stream_type != 0xff) {
|
||||||
GST_WARNING_OBJECT (tsdemux,
|
GST_WARNING_OBJECT (tsdemux,
|
||||||
"stream %p (pid 0x%04x, type:0x%03x) has no pad", stream,
|
"stream %p (pid 0x%04x, type:0x%02x) has no pad", stream,
|
||||||
((MpegTSBaseStream *) stream)->pid,
|
((MpegTSBaseStream *) stream)->pid,
|
||||||
((MpegTSBaseStream *) stream)->stream_type);
|
((MpegTSBaseStream *) stream)->stream_type);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue