? bad.patch
Index: gstmpeg2dec.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins/ext/mpeg2dec/gstmpeg2dec.c,v
retrieving revision 1.76
diff -u -p -r1.76 gstmpeg2dec.c
--- gstmpeg2dec.c	27 Jul 2004 16:43:19 -0000	1.76
+++ gstmpeg2dec.c	30 Oct 2004 19:35:52 -0000
@@ -773,13 +773,13 @@ gst_mpeg2dec_chain (GstPad * pad, GstDat
                 GST_TIME_ARGS (GST_BUFFER_DURATION (outbuf)));
             gst_pad_push (mpeg2dec->srcpad, GST_DATA (outbuf));
           }
+#ifndef __powerpc__
+          gst_buffer_unref ((GstBuffer *) info->discard_fbuf->id);
+#endif
         } else if (info->display_fbuf && !info->display_fbuf->id) {
           GST_WARNING ("Got a frame from libmpeg2, but it has no buffer");
         }
 
-        if (info->discard_fbuf && info->discard_fbuf->id) {
-          gst_buffer_unref ((GstBuffer *) info->discard_fbuf->id);
-        }
         break;
       }
         /* need more data */
