mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
ext/ffmpeg/gstffmpegdemux.c: reduce maximum probability in typefinding to POSSIBLE. prevents misidentification of my ...
Original commit message from CVS: * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find): reduce maximum probability in typefinding to POSSIBLE. prevents misidentification of my mp3s as video/mpeg
This commit is contained in:
parent
c5ebf6847f
commit
73c5b14aa7
3 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-04-19 Benjamin Otte <otte@gnome.org>
|
||||
|
||||
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
|
||||
reduce maximum probability in typefinding to POSSIBLE. prevents
|
||||
misidentification of my mp3s as video/mpeg
|
||||
|
||||
2004-04-15 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit c4fb9e5b7bc69f9420a0f008230e3028fdc2b097
|
||||
Subproject commit e55182f6eece70ff99e33b9800b27a926670dbdd
|
|
@ -550,9 +550,10 @@ gst_ffmpegdemux_type_find (GstTypeFind * tf, gpointer priv)
|
|||
probe_data.buf_size = GST_FFMPEG_TYPE_FIND_SIZE;
|
||||
|
||||
res = in_plugin->read_probe (&probe_data);
|
||||
res = res * GST_TYPE_FIND_MAXIMUM / AVPROBE_SCORE_MAX;
|
||||
if (res > 0)
|
||||
if (res > 0) {
|
||||
res = MAX (1, res * GST_TYPE_FIND_POSSIBLE / AVPROBE_SCORE_MAX);
|
||||
gst_type_find_suggest (tf, res, params->sinkcaps);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue