dvbsuboverlay: Remove warning for 2-bit and 8-bit subpictures

Both 2-bit and 8-bit mode now seem fine, so remove the warning
messages about them
This commit is contained in:
Jan Schmidt 2014-03-25 21:40:11 +11:00
parent 0a19be4464
commit a99164811c

View file

@ -644,14 +644,6 @@ _dvb_sub_read_2bit_string (guint8 * destbuf, gint dbuf_len,
guint32 bits = 0;
guint32 pixels_read = 0;
static gboolean warning_shown = FALSE;
if (!warning_shown) {
g_warning ("Parsing 2bit color DVB sub-picture. This is not tested at all. "
"If you see this message, please provide the developers with sample "
"media with these subtitles, if possible.");
warning_shown = TRUE;
}
GST_TRACE ("dbuf_len = %d", dbuf_len);
while (!stop_parsing && (gst_bit_reader_get_remaining (&gb) > 0)) {
@ -842,14 +834,6 @@ _dvb_sub_read_8bit_string (guint8 * destbuf, gint dbuf_len,
guint32 bits = 0;
guint32 pixels_read = 0;
static gboolean warning_shown = FALSE;
if (!warning_shown) {
g_warning
("Parsing 8bit color DVB sub-picture. This is not tested at all. If you see this message, "
"please provide the developers with sample media with these subtitles, if possible.");
warning_shown = TRUE;
}
GST_LOG ("dbuf_len = %d", dbuf_len);
/* FFMPEG-FIXME: ffmpeg uses a manual byte walking algorithm, which might be more performant,