mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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:
parent
0a19be4464
commit
a99164811c
1 changed files with 0 additions and 16 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue