[gstreamer-bugs] [Bug 574661] [gstffmpegdec] Wrong usage of parsers
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Nov 4 02:58:29 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=574661
GStreamer | gst-ffmpeg | git
Wim Taymans <wim.taymans> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wim.taymans at gmail.com
--- Comment #9 from Wim Taymans <wim.taymans at gmail.com> 2010-11-04 09:58:23 UTC ---
I did some grepping on the ffmpeg code. The code to initialize the parser
(av_parser_init) is only called from 2 places, one for removing extra codecdata
and the gst-libs/ext/ffmpeg/libavformat/utils.c.
The utils.c functions are:
av_find_stream_info()
av_read_frame_internal()
The first function is to setup all the streams. The way it works is that it
iterates over all codec_ids and tries to create a parser. If this succeeds, it
uses the parser. This is what we currently do.
The second function basically does the same but also takes new dynamic streams
into account.
I did some more grepping to see who does the actual calls to av_parser_parse*
and again the only callers are in gst-libs/ext/ffmpeg/libavformat/utils.c.
Maybe I'm wrong in assuming that ffplay is doing the right thing?
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list