[gstreamer-bugs] [Bug 575545] [gstffmpegenc] Wrong usage of AVCodec.pix_fmts

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Jul 31 04:27:57 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=575545

  GStreamer | gst-ffmpeg | Ver: git

Edward Hervey changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #130739|none                        |committed
               Flag|                            |
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.9




------- Comment #6 from Edward Hervey  2009-07-31 11:27 UTC -------
SIR YES SIR !

commit 56887682d058c40b911bdd57cc8c59aabd5cb79b
Author: Edward Hervey <bilboed at bilboed.com>
Date:   Fri Jul 31 13:27:28 2009 +0200

    gstffmpegenc: Try getting the caps for the declared pixfmt without a
context.

    PixFmt that are declared in AVCodec.pix_fmts are ones which are
'officially'
    declared as being supported. We should therefore not have to create a
    AVCodecContext and open an encoder to know if it's supported or not.
    Also, doing it this way allows us to better pickup configuration overrides
    we have in gstffmpegcodecmap for some codecs (like restrictions on width,
    height, framerate like it's the case for dnxhd).

    Fixes #575545


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=575545.




More information about the Gstreamer-bugs mailing list