[Xfce4-commits] [apps/xfburn] 01/01: Use new gst 1.0 syntax for caps specs

noreply at xfce.org noreply at xfce.org
Fri Mar 27 06:30:05 CET 2015


This is an automated email from the git hooks/post-receive script.

squisher pushed a commit to branch master
in repository apps/xfburn.

commit ec94772fc146b5f75051ca3454a140abc68009f9
Author: David Mohr <david at mcbf.net>
Date:   Thu Mar 26 23:29:42 2015 -0600

    Use new gst 1.0 syntax for caps specs
---
 xfburn/xfburn-transcoder-gst.c |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/xfburn/xfburn-transcoder-gst.c b/xfburn/xfburn-transcoder-gst.c
index 6ee7d02..bab4567 100644
--- a/xfburn/xfburn-transcoder-gst.c
+++ b/xfburn/xfburn-transcoder-gst.c
@@ -317,16 +317,12 @@ create_pipeline (XfburnTranscoderGst *trans)
   caps = gst_caps_new_simple ("audio/x-raw",
             "rate", G_TYPE_INT, 44100,
             "channels", G_TYPE_INT, 2,
-            "endianness", G_TYPE_INT, G_LITTLE_ENDIAN,
-            "width", G_TYPE_INT, 16,
-            "depth", G_TYPE_INT, 16,
-            "signed", G_TYPE_BOOLEAN, TRUE,
+            "format", G_TYPE_STRING, "S16LE",
             NULL);
 
 #if DEBUG_GST > 0 && DEBUG > 0
   // TODO without the filter it does work but I'm not sure the audio format is correct
-  //if (!gst_element_link_filtered (conv2, id, caps)) {
-  if (!gst_element_link (conv2, id)) {
+  if (!gst_element_link_filtered (conv2, id, caps)) {
 #else
   if (!gst_element_link_filtered (conv2, sink, caps)) {
 #endif

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list