mnauw gst-plugins-bad: gst-plugins-bad/ gst-plugins-bad/gst/qtmux/

[email protected] Mon, 1 Dec 2008 08:37:59 -0800 (PST)
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         gst-plugins-bad
Changes by:     mnauw
Date:           Mon Dec 01 2008  16:37:59 UTC

Log message:
* gst/qtmux/atoms.c: (build_jp2h_extension):
Fix mj2 sample description metadata construction.

Modified files:
    .               : ChangeLog
    gst/qtmux       : atoms.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/ChangeLog.diff?r1=1.3775&r2=1.3776
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/gst/qtmux/atoms.c.diff?r1=1.4&r2=1.5

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-bad/ChangeLog,v
retrieving revision 1.3775
retrieving revision 1.3776
diff -u -d -r1.3775 -r1.3776
--- ChangeLog	1 Dec 2008 15:50:38 -0000	1.3775
+++ ChangeLog	1 Dec 2008 16:37:43 -0000	1.3776
@@ -1,3 +1,8 @@
+2008-12-01  Mark Nauwelaerts  <[email protected]>
+
+	* gst/qtmux/atoms.c: (build_jp2h_extension):
+	Fix mj2 sample description metadata construction.
 2008-12-01  Sebastian Dröge  <[email protected]>
 
 	* gst/mxf/mxfjpeg2000.c: (mxf_jpeg2000_create_caps):
Index: atoms.c
RCS file: /cvs/gstreamer/gst-plugins-bad/gst/qtmux/atoms.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- atoms.c	14 Nov 2008 21:24:49 -0000	1.4
+++ atoms.c	1 Dec 2008 16:37:45 -0000	1.5
@@ -2895,7 +2895,7 @@
   } else
     return FALSE;
-  buf = gst_buffer_new_and_alloc (22 + 12);
+  buf = gst_buffer_new_and_alloc (22 + 15);
   data = GST_BUFFER_DATA (buf);
   /* ihdr = image header box */
@@ -2917,7 +2917,7 @@
   /* colour specification box */
   data += 22;
-  GST_WRITE_UINT32_BE (data, 12);
+  GST_WRITE_UINT32_BE (data, 15);
   GST_WRITE_UINT32_LE (data + 4, GST_MAKE_FOURCC ('c', 'o', 'l', 'r'));
   /* specification method: enumerated */
   GST_WRITE_UINT8 (data + 8, 0x1);
@@ -2926,7 +2926,7 @@
   /* approximation; reserved */
   GST_WRITE_UINT8 (data + 10, 0x0);
   /* enumerated colourspace */
-  GST_WRITE_UINT8 (data + 11, cenum);
+  GST_WRITE_UINT32_BE (data + 11, cenum);
   atom_data = atom_data_new_from_gst_buffer (FOURCC_jp2h, buf);
   gst_buffer_unref (buf);

-------------------------------------------------------------------------
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