From b23e6bfa70e877649901e8d99970a6f5547b6859 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Mon, 19 Dec 2011 13:18:51 +0000 Subject: [PATCH] mpegtsdemux: only warn when we see a PID with unknown type This is quite frequent, and we will just ignore that stream, so an error is not warranted. --- gst/mpegdemux/gstmpegtsdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/mpegdemux/gstmpegtsdemux.c b/gst/mpegdemux/gstmpegtsdemux.c index 8f6d3a4415..5ee8daeb10 100644 --- a/gst/mpegdemux/gstmpegtsdemux.c +++ b/gst/mpegdemux/gstmpegtsdemux.c @@ -1128,7 +1128,7 @@ gst_mpegts_demux_add_all_streams (GstMpegTSDemux * demux, GstClockTime pts) } if (!gst_mpegts_demux_fill_stream (stream, stream->filter.id, stream->stream_type)) { - GST_ERROR ("Unknown type for PID 0x%04x", stream->PID); + GST_WARNING_OBJECT (demux, "Unknown type for PID 0x%04x", stream->PID); /* ignore */ continue; }