[gstreamer-bugs] [Bug 354174] [PATCH] add REAL support by using the proprietary drivers

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Jan 5 12:40:04 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=354174

  GStreamer | gst-plugins-bad | Ver: HEAD CVS





------- Comment #46 from Lutz Mueller  2007-01-05 20:38 UTC -------
Created an attachment (id=79480)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=79480&action=view)
Implement error recovery on setcaps failure

In the audio decoder, if setcaps fails, the state of the decoder is not
changed. I guess this is the correct behavior (although perhaps overkill).
Attached patch implements this behavior for the video decoder, too. For
example, instead of using the variable 'dec->width' in the setcaps function, a
local variable 'width' is used. 'dec->width' is only set to the local variable
'width' if setting of the caps succeeds. Same with all hooks.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list