From f1cfdac85a21b2c4955e9a17f0a633763488bb33 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 19 Jan 2005 17:25:29 +0000 Subject: [PATCH] TODO: Update since some tasks are done. Original commit message from CVS: * TODO: Update since some tasks are done. * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps): * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find): Add correct mimetype for FLI video, restore correct typefind priority. --- ChangeLog | 9 +++++++++ TODO | 10 +++------- ext/ffmpeg/gstffmpegcodecmap.c | 2 ++ ext/ffmpeg/gstffmpegdemux.c | 2 +- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index ff8fed3..1575eda 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2005-01-19 Ronald S. Bultje + * TODO: + Update since some tasks are done. + * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps): + * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find): + Add correct mimetype for FLI video, restore correct typefind + priority. + +2005-01-19 Ronald S. Bultje + * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect), (gst_ffmpegdec_frame), (gst_ffmpegdec_handle_event), (gst_ffmpegdec_chain): diff --git a/TODO b/TODO index 3ea31a5..ce6f3c7 100644 --- a/TODO +++ b/TODO @@ -1,20 +1,16 @@ The never-ending story of new features: * add more codecs into our codec map -* encoding/decoding support lacks: +* encoding support lacks: - event handling (particularly discont/flush and EOS) +* both encoding and decoding lacks: - prevent data copying * demux/mux support lacks: - good testing of exotic formats - correct caps sets on the pad templates - event handling in the loop function (mux) - prevent data copying -* some sort of codectype-fallback, so that we still register a codec plus its - mimetype even if we don't have a defined gst-type for it -* ffvideoscale && other filter elements +* ffvideoscale, ffdeinterlace and other filter elements * can we wrap URLProtocol as a source/sink? -* propagate options like --disable-ffplay (and server and ffmpeg) to ffmpeg - source tree build directly in AC_CONFIG_SUBDIRS instead of the - 'disabletools.diff' patch If you have cool ideas, add them here or contact the mailinglist: diff --git a/ext/ffmpeg/gstffmpegcodecmap.c b/ext/ffmpeg/gstffmpegcodecmap.c index dc82de9..f48fc4e 100644 --- a/ext/ffmpeg/gstffmpegcodecmap.c +++ b/ext/ffmpeg/gstffmpegcodecmap.c @@ -1298,6 +1298,8 @@ gst_ffmpeg_formatid_to_caps (const gchar * format_name) caps = gst_caps_new_simple ("video/x-matroska", NULL); } else if (!strcmp (format_name, "mp3")) { caps = gst_caps_new_simple ("application/x-id3", NULL); + } else if (!strcmp (format_name, "flic")) { + caps = gst_caps_new_simple ("video/x-fli", NULL); } else { gchar *name; diff --git a/ext/ffmpeg/gstffmpegdemux.c b/ext/ffmpeg/gstffmpegdemux.c index 562b1d2..7786fec 100644 --- a/ext/ffmpeg/gstffmpegdemux.c +++ b/ext/ffmpeg/gstffmpegdemux.c @@ -571,7 +571,7 @@ gst_ffmpegdemux_type_find (GstTypeFind * tf, gpointer priv) res = in_plugin->read_probe (&probe_data); if (res > 0) { - res = MAX (1, res * 0.8 * GST_TYPE_FIND_MAXIMUM / AVPROBE_SCORE_MAX); + res = MAX (1, res * GST_TYPE_FIND_MAXIMUM / AVPROBE_SCORE_MAX); gst_type_find_suggest (tf, res, params->sinkcaps); } } -- 2.7.4