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

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Jan 1 08:27:48 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-ugly | Ver: HEAD CVS





------- Comment #23 from Edward Hervey  2007-01-01 16:26 UTC -------
*sigh*. The bug is in fact even more stupid than that. It took me some time to
realize dec->version was set to 2, whereas it's a rv30 stream.

The error is in gst_realdec_setcaps() . When you check some versions, you are
using '=' instead of '=='

so you need to replace:

  if (((dec->version = GST_REAL_DEC_VERSION_2) ||
        (dec->version = GST_REAL_DEC_VERSION_3)) &&
      (dec->format >= 0x20200002)) {
    guint32 msg[15];

by

  if (((dec->version == GST_REAL_DEC_VERSION_2) ||
        (dec->version == GST_REAL_DEC_VERSION_3)) &&
      (dec->format >= 0x20200002)) {
    guint32 msg[15];


Once you do that, playback is perfect.


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




More information about the Gstreamer-bugs mailing list