All of lore.kernel.org
 help / color / mirror / Atom feed
* gstreamer1.0-plugins-good: Fix qt with alac
@ 2015-03-04 16:48 scerveau
  0 siblings, 0 replies; only message in thread
From: scerveau @ 2015-03-04 16:48 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 181 bytes --]

Hello,

Here is a patch for alac encoding with qtmux.
Someone could be interested.

https://www.marc.info/?l=gstreamer-cvs&m=141954352317221&w=2

Best regards.

Stéphane

[-- Attachment #2: qtmux_fix_alac_muxing.patch --]
[-- Type: text/x-patch, Size: 611 bytes --]

diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c
index fc747ed..6614ba4 100644
--- a/gst/isomp4/gstqtmux.c
+++ b/gst/isomp4/gstqtmux.c
@@ -2870,7 +2870,8 @@ gst_qt_mux_audio_sink_set_caps (GstQTPad * qtpad, GstCaps * caps)
     if (GST_READ_UINT32_LE (map.data + 4) == FOURCC_alac) {
       len -= 8;
       codec_config =
-          gst_buffer_copy_region ((GstBuffer *) codec_data, 0, 8, len);
+          gst_buffer_copy_region ((GstBuffer *) codec_data,
+          GST_BUFFER_COPY_MEMORY, 8, len);
     } else {
       codec_config = gst_buffer_ref ((GstBuffer *) codec_data);
     }

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-04 16:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-04 16:48 gstreamer1.0-plugins-good: Fix qt with alac scerveau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.