[PATCH] Fixes gst-plugins compilation against libmpeg2-0.3.2_pre20030625



Hi,
I am running gentoo and when compiling gst-plugins, the build complains
about no picture_t type defined.
Attached is a patch that correct this.

-- 
Sebastian Otaegui <mplayer argentina com>
--- garnome-0.26.2/gnome/gst-plugins/work/main.d/gst-plugins-0.6.3/ext/mpeg2dec/gstmpeg2dec.c	2003-05-06 22:51:38.000000000 +0000
+++ garnome/gnome/gst-plugins/work/main.d/gst-plugins-0.6.3/ext/mpeg2dec/gstmpeg2dec.c	2003-09-09 21:28:15.000000000 +0000
@@ -262,7 +262,7 @@
   GstBuffer *outbuf = NULL;
   gint size = mpeg2dec->width * mpeg2dec->height;
   guint8 *buf[3], *out;
-  const picture_t *picture;
+  const mpeg2_picture_t *picture;
 
   if (mpeg2dec->peerpool) {
     outbuf = gst_buffer_new_from_pool (mpeg2dec->peerpool, 0, 0);
@@ -553,7 +553,7 @@
 			(info->display_fbuf ? info->display_fbuf->id : NULL));
 
 	if (info->display_fbuf && info->display_fbuf->id) {
-          const picture_t *picture;
+          const mpeg2_picture_t *picture;
 	  gboolean key_frame = FALSE;
 	  
 	  outbuf = (GstBuffer *) info->display_fbuf->id;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]