summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-10-17 12:46:20 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2013-01-09 11:42:46 +0100
commit6210e05a528806a5c09802015fb11bbb313d7fdf (patch)
tree392c6faccf7dad36137fde9486be1f9010868ae2 /meta-multimedia/recipes-multimedia
parent7ee7a238f19d35f956b09216ae6b0c648b45e5b0 (diff)
downloadmeta-openembedded-6210e05a528806a5c09802015fb11bbb313d7fdf.tar.gz
gst123: add package
gst123 is useful for testing as it simply uses PlayBin, but can display the pipeline being used for QA purposes. Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia')
-rw-r--r--meta-multimedia/recipes-multimedia/gstreamer/files/display.patch60
-rw-r--r--meta-multimedia/recipes-multimedia/gstreamer/gst123_0.3.1.bb15
2 files changed, 75 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/gstreamer/files/display.patch b/meta-multimedia/recipes-multimedia/gstreamer/files/display.patch
new file mode 100644
index 000000000..61b0e6c87
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/gstreamer/files/display.patch
@@ -0,0 +1,60 @@
1Upstream-Status: Backport
2Signed-off-by: Ross Burton <ross.burton@intel.com>
3
4From 3e46d2e501da68d929bb5f26900a292a5fc04a1f Mon Sep 17 00:00:00 2001
5From: Stefan Westerfeld <stefan@space.twc.de>
6Date: Mon, 23 Apr 2012 03:10:22 +0200
7Subject: [PATCH] Fix time display updates (broken by introduction of quiet
8 mode).
9
10---
11 src/gst123.cc | 1 +
12 src/msg.cc | 7 +++++++
13 src/msg.h | 1 +
14 3 files changed, 9 insertions(+)
15
16diff --git a/src/gst123.cc b/src/gst123.cc
17index 20e91e5..ce5876d 100644
18--- a/src/gst123.cc
19+++ b/src/gst123.cc
20@@ -640,6 +640,7 @@ cb_print_position (gpointer *data)
21 else
22 blanks += " ";
23 Msg::print ("%s%s\r", status.c_str(), blanks.c_str());
24+ Msg::flush();
25 }
26
27 /* call me again */
28diff --git a/src/msg.cc b/src/msg.cc
29index 547cd90..33cada2 100644
30--- a/src/msg.cc
31+++ b/src/msg.cc
32@@ -41,6 +41,13 @@ print (const char *format, ...)
33 }
34 }
35
36+void
37+flush()
38+{
39+ if (!Options::the().quiet)
40+ fflush (stdout);
41+}
42+
43 }
44
45 }
46diff --git a/src/msg.h b/src/msg.h
47index e0ced24..5bebac0 100644
48--- a/src/msg.h
49+++ b/src/msg.h
50@@ -27,6 +27,7 @@ namespace Msg
51 {
52
53 void print (const char *format, ...);
54+void flush();
55
56 }
57
58--
591.7.9.5
60
diff --git a/meta-multimedia/recipes-multimedia/gstreamer/gst123_0.3.1.bb b/meta-multimedia/recipes-multimedia/gstreamer/gst123_0.3.1.bb
new file mode 100644
index 000000000..6c495b20c
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/gstreamer/gst123_0.3.1.bb
@@ -0,0 +1,15 @@
1SUMMARY = "Flexible CLI player in the spirit of mpg123, based on GStreamer"
2HOMEPAGE = "http://space.twc.de/~stefan/gst123.php"
3LICENSE = "LGPLv2.1+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
5 file://src/gst123.cc;beginline=1;endline=19;md5=05d2f5d54b985b986c26af931d2084f8"
6
7DEPENDS = "libx11 gstreamer gst-plugins-base gtk+ ncurses"
8
9SRC_URI = "http://space.twc.de/~stefan/gst123/${BPN}-${PV}.tar.bz2 \
10 file://display.patch"
11
12SRC_URI[md5sum] = "1e77767c9d6fecee5641f95804f160fe"
13SRC_URI[sha256sum] = "89d1de025eca0466c125dcd6a11b64341bdf98ee4c03c3e5a12321d77cb8b0ce"
14
15inherit autotools