CVS Root: /cvs/gstreamer
Module: gst-plugins-good
Changes by: slomo
Date: Sun Nov 23 2008 11:14:57 UTC
Log message:
Patch by: Tal Shalif <tshalif at nargila dot org>
* gst/qtdemux/qtdemux.c: (qtdemux_audio_caps):
Use G_{BIG,LITTLE}_ENDIAN instead of the non-GLib variants as
the latter don't exist on some systems (mingw). Fixes bug #561992.
Modified files:
. : ChangeLog
gst/qtdemux : qtdemux.c
Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/ChangeLog.diff?r1=1.3827&r2=1.3828
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/gst/qtdemux/qtdemux.c.diff?r1=1.237&r2=1.238
====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/ChangeLog,v
retrieving revision 1.3827
retrieving revision 1.3828
diff -u -d -r1.3827 -r1.3828
--- ChangeLog 21 Nov 2008 13:43:28 -0000 1.3827
+++ ChangeLog 23 Nov 2008 11:14:39 -0000 1.3828
@@ -1,3 +1,11 @@
+2008-11-23 Sebastian Dröge <[email protected]>
+
+ Patch by: Tal Shalif <tshalif at nargila dot org>
+ * gst/qtdemux/qtdemux.c: (qtdemux_audio_caps):
+ Use G_{BIG,LITTLE}_ENDIAN instead of the non-GLib variants as
+ the latter don't exist on some systems (mingw). Fixes bug #561992.
2008-11-21 Sebastian Dröge <[email protected]>
Patch by: Zeeshan Ali <zeeshanak at gnome dot org>
Index: qtdemux.c
RCS file: /cvs/gstreamer/gst-plugins-good/gst/qtdemux/qtdemux.c,v
retrieving revision 1.237
retrieving revision 1.238
diff -u -d -r1.237 -r1.238
--- qtdemux.c 12 Nov 2008 11:55:14 -0000 1.237
+++ qtdemux.c 23 Nov 2008 11:14:42 -0000 1.238
@@ -4866,7 +4866,7 @@
"depth", G_TYPE_INT, 8, "signed", G_TYPE_BOOLEAN, FALSE, NULL);
break;
case GST_MAKE_FOURCC ('t', 'w', 'o', 's'):
- endian = BIG_ENDIAN;
+ endian = G_BIG_ENDIAN;
/* fall-through */
case GST_MAKE_FOURCC ('s', 'o', 'w', 't'):
{
@@ -4874,7 +4874,7 @@
gint depth;
if (!endian)
- endian = LITTLE_ENDIAN;
+ endian = G_LITTLE_ENDIAN;
depth = stream->bytes_per_packet * 8;
str = g_strdup_printf ("Raw %d-bit PCM audio", depth);
@@ -4889,25 +4889,25 @@
case GST_MAKE_FOURCC ('f', 'l', '6', '4'):
_codec ("Raw 64-bit floating-point audio");
caps = gst_caps_new_simple ("audio/x-raw-float", "width", G_TYPE_INT, 64,
- "endianness", G_TYPE_INT, BIG_ENDIAN, NULL);
+ "endianness", G_TYPE_INT, G_BIG_ENDIAN, NULL);
case GST_MAKE_FOURCC ('f', 'l', '3', '2'):
_codec ("Raw 32-bit floating-point audio");
caps = gst_caps_new_simple ("audio/x-raw-float", "width", G_TYPE_INT, 32,
case GST_MAKE_FOURCC ('i', 'n', '2', '4'):
_codec ("Raw 24-bit PCM audio");
caps = gst_caps_new_simple ("audio/x-raw-int", "width", G_TYPE_INT, 24,
"depth", G_TYPE_INT, 24,
- "endianness", G_TYPE_INT, BIG_ENDIAN,
+ "endianness", G_TYPE_INT, G_BIG_ENDIAN,
"signed", G_TYPE_BOOLEAN, TRUE, NULL);
case GST_MAKE_FOURCC ('i', 'n', '3', '2'):
_codec ("Raw 32-bit PCM audio");
caps = gst_caps_new_simple ("audio/x-raw-int", "width", G_TYPE_INT, 32,
"depth", G_TYPE_INT, 32,
case GST_MAKE_FOURCC ('u', 'l', 'a', 'w'):
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-cvs-verbose mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs-verbose
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.