pkgsrc/multimedia/gst-plugins0.8/patches/patch-ag

37 lines
1 KiB
Text
Raw Normal View History

$NetBSD: patch-ag,v 1.1 2006/01/18 12:44:03 jmmv Exp $
Removed the #define directive from the inside of a macro expansion.
Needed for gcc-2.95 and possibly others.
Update gst-plugins* to 0.8.10: Changes since 0.8.9: * new videoscale algorithm: bilinear * important fixes for cd-based applications (Sound Juicer, gnome-cd) Bugs fixed since 0.8.9: * 140237 : Mp3 playback messes up on this file * 161079 : [videoscale] implement bilinear or bicubic methods for do... * 300305 : videobox in YUV adds green instead of black if right=(odd... * 300471 : videoscale from odd to even width adds a green line at th... * 301292 : caps nego problem in gst-adder * 304627 : asfdemux producing a strange framerate * 304754 : Say what devices couldn't be opened when cdparanoia thro... * 305150 : faad plugin doesn't recognize end-of-song? * 305428 : [audiorate] crashes if first buffer has offset of GST_BUF... * 305435 : libgstaudiofile.so uses af_virtual_file_new, which is not... * 305505 : Fail to compile plugin spc * 305524 : Cairo plugin does not compile with cairo 0.5 * 305658 : the adder plugin doesn't connect to more than one sinks * 306041 : gstreamer-plugins 0.8.8 stops Soundjuicer ripping properly * 306641 : gst-compprep segfaults when mpeg2enc plugin is installed ... * 306659 : [avidemux] certain avi file doesnt show video * 306660 : glsink fails to build when OpenGL is used instead of MESA * 306680 : mov with 8 bit raw pcm sound distorted * 306938 : memory leak in gsttypefind * 307354 : PATCH: gcc4 compile fix * 307459 : Can not rip the last track of CDs * 307606 : gstplaybasebin leaks mutex * 307804 : [cdio] gst_element_make_from_uri hangs on " cdda:// " in totem * 308644 : [matroska] Incorrect pixel-aspect-ratio in matroska demuxer * 308794 : [auparse] minor memory leak * 308827 : ogg muxer in 0.8 muxes wrong * 309005 : leaks in gstlibfame.c * 309043 : gstwavparse causes segfaults
2005-08-21 13:27:54 +02:00
--- sys/glsink/glimagesink.c.orig 2005-06-14 18:38:03.000000000 +0200
+++ sys/glsink/glimagesink.c
@@ -46,6 +46,12 @@ GST_ELEMENT_DETAILS ("Video sink",
"An OpenGL 1.2 based videosink",
"Gernot Ziegler <gz@lysator.liu.se>, Julien Moutte <julien@moutte.net>");
+#ifdef GL_YCBCR_MESA
+# define YUV_FOO ";" GST_VIDEO_CAPS_YUV ("{ UYVY, YUY2 }")
+#else
Update gst-plugins* to 0.8.10: Changes since 0.8.9: * new videoscale algorithm: bilinear * important fixes for cd-based applications (Sound Juicer, gnome-cd) Bugs fixed since 0.8.9: * 140237 : Mp3 playback messes up on this file * 161079 : [videoscale] implement bilinear or bicubic methods for do... * 300305 : videobox in YUV adds green instead of black if right=(odd... * 300471 : videoscale from odd to even width adds a green line at th... * 301292 : caps nego problem in gst-adder * 304627 : asfdemux producing a strange framerate * 304754 : Say what devices couldn't be opened when cdparanoia thro... * 305150 : faad plugin doesn't recognize end-of-song? * 305428 : [audiorate] crashes if first buffer has offset of GST_BUF... * 305435 : libgstaudiofile.so uses af_virtual_file_new, which is not... * 305505 : Fail to compile plugin spc * 305524 : Cairo plugin does not compile with cairo 0.5 * 305658 : the adder plugin doesn't connect to more than one sinks * 306041 : gstreamer-plugins 0.8.8 stops Soundjuicer ripping properly * 306641 : gst-compprep segfaults when mpeg2enc plugin is installed ... * 306659 : [avidemux] certain avi file doesnt show video * 306660 : glsink fails to build when OpenGL is used instead of MESA * 306680 : mov with 8 bit raw pcm sound distorted * 306938 : memory leak in gsttypefind * 307354 : PATCH: gcc4 compile fix * 307459 : Can not rip the last track of CDs * 307606 : gstplaybasebin leaks mutex * 307804 : [cdio] gst_element_make_from_uri hangs on " cdda:// " in totem * 308644 : [matroska] Incorrect pixel-aspect-ratio in matroska demuxer * 308794 : [auparse] minor memory leak * 308827 : ogg muxer in 0.8 muxes wrong * 309005 : leaks in gstlibfame.c * 309043 : gstwavparse causes segfaults
2005-08-21 13:27:54 +02:00
+# define YUV_FOO
+#endif
Update gst-plugins* to 0.8.10: Changes since 0.8.9: * new videoscale algorithm: bilinear * important fixes for cd-based applications (Sound Juicer, gnome-cd) Bugs fixed since 0.8.9: * 140237 : Mp3 playback messes up on this file * 161079 : [videoscale] implement bilinear or bicubic methods for do... * 300305 : videobox in YUV adds green instead of black if right=(odd... * 300471 : videoscale from odd to even width adds a green line at th... * 301292 : caps nego problem in gst-adder * 304627 : asfdemux producing a strange framerate * 304754 : Say what devices couldn't be opened when cdparanoia thro... * 305150 : faad plugin doesn't recognize end-of-song? * 305428 : [audiorate] crashes if first buffer has offset of GST_BUF... * 305435 : libgstaudiofile.so uses af_virtual_file_new, which is not... * 305505 : Fail to compile plugin spc * 305524 : Cairo plugin does not compile with cairo 0.5 * 305658 : the adder plugin doesn't connect to more than one sinks * 306041 : gstreamer-plugins 0.8.8 stops Soundjuicer ripping properly * 306641 : gst-compprep segfaults when mpeg2enc plugin is installed ... * 306659 : [avidemux] certain avi file doesnt show video * 306660 : glsink fails to build when OpenGL is used instead of MESA * 306680 : mov with 8 bit raw pcm sound distorted * 306938 : memory leak in gsttypefind * 307354 : PATCH: gcc4 compile fix * 307459 : Can not rip the last track of CDs * 307606 : gstplaybasebin leaks mutex * 307804 : [cdio] gst_element_make_from_uri hangs on " cdda:// " in totem * 308644 : [matroska] Incorrect pixel-aspect-ratio in matroska demuxer * 308794 : [auparse] minor memory leak * 308827 : ogg muxer in 0.8 muxes wrong * 309005 : leaks in gstlibfame.c * 309043 : gstwavparse causes segfaults
2005-08-21 13:27:54 +02:00
+
/* Default template - initiated with class struct to allow gst-register to work
without X running */
static GstStaticPadTemplate gst_glimagesink_sink_template_factory =
@@ -53,12 +59,12 @@ static GstStaticPadTemplate gst_glimages
GST_PAD_SINK,
GST_PAD_ALWAYS,
GST_STATIC_CAPS (GST_VIDEO_CAPS_RGBx ";" GST_VIDEO_CAPS_BGRx
Update gst-plugins* to 0.8.10: Changes since 0.8.9: * new videoscale algorithm: bilinear * important fixes for cd-based applications (Sound Juicer, gnome-cd) Bugs fixed since 0.8.9: * 140237 : Mp3 playback messes up on this file * 161079 : [videoscale] implement bilinear or bicubic methods for do... * 300305 : videobox in YUV adds green instead of black if right=(odd... * 300471 : videoscale from odd to even width adds a green line at th... * 301292 : caps nego problem in gst-adder * 304627 : asfdemux producing a strange framerate * 304754 : Say what devices couldn't be opened when cdparanoia thro... * 305150 : faad plugin doesn't recognize end-of-song? * 305428 : [audiorate] crashes if first buffer has offset of GST_BUF... * 305435 : libgstaudiofile.so uses af_virtual_file_new, which is not... * 305505 : Fail to compile plugin spc * 305524 : Cairo plugin does not compile with cairo 0.5 * 305658 : the adder plugin doesn't connect to more than one sinks * 306041 : gstreamer-plugins 0.8.8 stops Soundjuicer ripping properly * 306641 : gst-compprep segfaults when mpeg2enc plugin is installed ... * 306659 : [avidemux] certain avi file doesnt show video * 306660 : glsink fails to build when OpenGL is used instead of MESA * 306680 : mov with 8 bit raw pcm sound distorted * 306938 : memory leak in gsttypefind * 307354 : PATCH: gcc4 compile fix * 307459 : Can not rip the last track of CDs * 307606 : gstplaybasebin leaks mutex * 307804 : [cdio] gst_element_make_from_uri hangs on " cdda:// " in totem * 308644 : [matroska] Incorrect pixel-aspect-ratio in matroska demuxer * 308794 : [auparse] minor memory leak * 308827 : ogg muxer in 0.8 muxes wrong * 309005 : leaks in gstlibfame.c * 309043 : gstwavparse causes segfaults
2005-08-21 13:27:54 +02:00
-#ifdef GL_YCBCR_MESA
- ";" GST_VIDEO_CAPS_YUV ("{ UYVY, YUY2 }")
-#endif
+ YUV_FOO
)
);
Update gst-plugins* to 0.8.10: Changes since 0.8.9: * new videoscale algorithm: bilinear * important fixes for cd-based applications (Sound Juicer, gnome-cd) Bugs fixed since 0.8.9: * 140237 : Mp3 playback messes up on this file * 161079 : [videoscale] implement bilinear or bicubic methods for do... * 300305 : videobox in YUV adds green instead of black if right=(odd... * 300471 : videoscale from odd to even width adds a green line at th... * 301292 : caps nego problem in gst-adder * 304627 : asfdemux producing a strange framerate * 304754 : Say what devices couldn't be opened when cdparanoia thro... * 305150 : faad plugin doesn't recognize end-of-song? * 305428 : [audiorate] crashes if first buffer has offset of GST_BUF... * 305435 : libgstaudiofile.so uses af_virtual_file_new, which is not... * 305505 : Fail to compile plugin spc * 305524 : Cairo plugin does not compile with cairo 0.5 * 305658 : the adder plugin doesn't connect to more than one sinks * 306041 : gstreamer-plugins 0.8.8 stops Soundjuicer ripping properly * 306641 : gst-compprep segfaults when mpeg2enc plugin is installed ... * 306659 : [avidemux] certain avi file doesnt show video * 306660 : glsink fails to build when OpenGL is used instead of MESA * 306680 : mov with 8 bit raw pcm sound distorted * 306938 : memory leak in gsttypefind * 307354 : PATCH: gcc4 compile fix * 307459 : Can not rip the last track of CDs * 307606 : gstplaybasebin leaks mutex * 307804 : [cdio] gst_element_make_from_uri hangs on " cdda:// " in totem * 308644 : [matroska] Incorrect pixel-aspect-ratio in matroska demuxer * 308794 : [auparse] minor memory leak * 308827 : ogg muxer in 0.8 muxes wrong * 309005 : leaks in gstlibfame.c * 309043 : gstwavparse causes segfaults
2005-08-21 13:27:54 +02:00
+#undef YUV_FOO
+
#if 0
enum
Update gst-plugins* to 0.8.10: Changes since 0.8.9: * new videoscale algorithm: bilinear * important fixes for cd-based applications (Sound Juicer, gnome-cd) Bugs fixed since 0.8.9: * 140237 : Mp3 playback messes up on this file * 161079 : [videoscale] implement bilinear or bicubic methods for do... * 300305 : videobox in YUV adds green instead of black if right=(odd... * 300471 : videoscale from odd to even width adds a green line at th... * 301292 : caps nego problem in gst-adder * 304627 : asfdemux producing a strange framerate * 304754 : Say what devices couldn't be opened when cdparanoia thro... * 305150 : faad plugin doesn't recognize end-of-song? * 305428 : [audiorate] crashes if first buffer has offset of GST_BUF... * 305435 : libgstaudiofile.so uses af_virtual_file_new, which is not... * 305505 : Fail to compile plugin spc * 305524 : Cairo plugin does not compile with cairo 0.5 * 305658 : the adder plugin doesn't connect to more than one sinks * 306041 : gstreamer-plugins 0.8.8 stops Soundjuicer ripping properly * 306641 : gst-compprep segfaults when mpeg2enc plugin is installed ... * 306659 : [avidemux] certain avi file doesnt show video * 306660 : glsink fails to build when OpenGL is used instead of MESA * 306680 : mov with 8 bit raw pcm sound distorted * 306938 : memory leak in gsttypefind * 307354 : PATCH: gcc4 compile fix * 307459 : Can not rip the last track of CDs * 307606 : gstplaybasebin leaks mutex * 307804 : [cdio] gst_element_make_from_uri hangs on " cdda:// " in totem * 308644 : [matroska] Incorrect pixel-aspect-ratio in matroska demuxer * 308794 : [auparse] minor memory leak * 308827 : ogg muxer in 0.8 muxes wrong * 309005 : leaks in gstlibfame.c * 309043 : gstwavparse causes segfaults
2005-08-21 13:27:54 +02:00
{