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.
This commit is contained in:
Vincent Penquerc'h 2011-12-19 13:18:51 +00:00
parent 570ba0c84a
commit b23e6bfa70

View file

@ -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;
}