diff options
author | Jan Schmidt <jan@centricular.com> | 2014-03-25 21:40:11 +1100 |
---|---|---|
committer | Jan Schmidt <jan@centricular.com> | 2014-03-25 21:40:11 +1100 |
commit | a99164811cd26c186038135f1b029d79e58deb9d (patch) | |
tree | 1830ca478ed64a50ab7902968a055698ee26aa13 /gst/dvbsuboverlay | |
parent | 0a19be4464a3069ccba8cd5205de6de05ad8927f (diff) | |
download | gstreamer-plugins-bad-a99164811cd26c186038135f1b029d79e58deb9d.tar.gz |
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
Diffstat (limited to 'gst/dvbsuboverlay')
-rw-r--r-- | gst/dvbsuboverlay/dvb-sub.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gst/dvbsuboverlay/dvb-sub.c b/gst/dvbsuboverlay/dvb-sub.c index c1509ee5a..e546423c3 100644 --- a/gst/dvbsuboverlay/dvb-sub.c +++ b/gst/dvbsuboverlay/dvb-sub.c @@ -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, |