* [meta-multimedia PATCH V2] gst123: add package
@ 2012-12-17 12:24 Ross Burton
2012-12-17 12:54 ` Koen Kooi
0 siblings, 1 reply; 2+ messages in thread
From: Ross Burton @ 2012-12-17 12:24 UTC (permalink / raw)
To: openembedded-devel
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>
---
.../gstreamer/files/display.patch | 60 ++++++++++++++++++++
.../recipes-multimedia/gstreamer/gst123_0.3.1.bb | 17 ++++++
2 files changed, 77 insertions(+)
create mode 100644 meta-multimedia/recipes-multimedia/gstreamer/files/display.patch
create mode 100644 meta-multimedia/recipes-multimedia/gstreamer/gst123_0.3.1.bb
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 0000000..61b0e6c
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/gstreamer/files/display.patch
@@ -0,0 +1,60 @@
+Upstream-Status: Backport
+Signed-off-by: Ross Burton <ross.burton@intel.com>
+
+From 3e46d2e501da68d929bb5f26900a292a5fc04a1f Mon Sep 17 00:00:00 2001
+From: Stefan Westerfeld <stefan@space.twc.de>
+Date: Mon, 23 Apr 2012 03:10:22 +0200
+Subject: [PATCH] Fix time display updates (broken by introduction of quiet
+ mode).
+
+---
+ src/gst123.cc | 1 +
+ src/msg.cc | 7 +++++++
+ src/msg.h | 1 +
+ 3 files changed, 9 insertions(+)
+
+diff --git a/src/gst123.cc b/src/gst123.cc
+index 20e91e5..ce5876d 100644
+--- a/src/gst123.cc
++++ b/src/gst123.cc
+@@ -640,6 +640,7 @@ cb_print_position (gpointer *data)
+ else
+ blanks += " ";
+ Msg::print ("%s%s\r", status.c_str(), blanks.c_str());
++ Msg::flush();
+ }
+
+ /* call me again */
+diff --git a/src/msg.cc b/src/msg.cc
+index 547cd90..33cada2 100644
+--- a/src/msg.cc
++++ b/src/msg.cc
+@@ -41,6 +41,13 @@ print (const char *format, ...)
+ }
+ }
+
++void
++flush()
++{
++ if (!Options::the().quiet)
++ fflush (stdout);
++}
++
+ }
+
+ }
+diff --git a/src/msg.h b/src/msg.h
+index e0ced24..5bebac0 100644
+--- a/src/msg.h
++++ b/src/msg.h
+@@ -27,6 +27,7 @@ namespace Msg
+ {
+
+ void print (const char *format, ...);
++void flush();
+
+ }
+
+--
+1.7.9.5
+
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 0000000..7898b08
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/gstreamer/gst123_0.3.1.bb
@@ -0,0 +1,17 @@
+SUMMARY = "Flexible CLI player in the spirit of mpg123, based on GStreamer"
+HOMEPAGE = "http://space.twc.de/~stefan/gst123.php"
+LICENSE = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
+ file://src/gst123.cc;beginline=1;endline=19;md5=05d2f5d54b985b986c26af931d2084f8"
+
+DEPENDS = "libx11 gstreamer gst-plugins-base gtk+ ncurses"
+
+SRC_URI = "http://space.twc.de/~stefan/gst123/${BPN}-${PV}.tar.bz2 \
+ file://display.patch"
+
+SRC_URI[md5sum] = "1e77767c9d6fecee5641f95804f160fe"
+SRC_URI[sha256sum] = "89d1de025eca0466c125dcd6a11b64341bdf98ee4c03c3e5a12321d77cb8b0ce"
+
+PR = "r0"
+
+inherit autotools
--
1.7.10
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [meta-multimedia PATCH V2] gst123: add package
2012-12-17 12:24 [meta-multimedia PATCH V2] gst123: add package Ross Burton
@ 2012-12-17 12:54 ` Koen Kooi
0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2012-12-17 12:54 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> 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 0000000..7898b08 --- /dev/null +++
> b/meta-multimedia/recipes-multimedia/gstreamer/gst123_0.3.1.bb @@ -0,0
> +1,17 @@ +SUMMARY = "Flexible CLI player in the spirit of mpg123, based
> on GStreamer" +HOMEPAGE = "http://space.twc.de/~stefan/gst123.php"
> +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM =
> "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ +
> file://src/gst123.cc;beginline=1;endline=19;md5=05d2f5d54b985b986c26af931d2084f8"
>
>
+
> +DEPENDS = "libx11 gstreamer gst-plugins-base gtk+ ncurses" + +SRC_URI =
> "http://space.twc.de/~stefan/gst123/${BPN}-${PV}.tar.bz2 \ +
> file://display.patch" + +SRC_URI[md5sum] =
> "1e77767c9d6fecee5641f95804f160fe" +SRC_URI[sha256sum] =
> "89d1de025eca0466c125dcd6a11b64341bdf98ee4c03c3e5a12321d77cb8b0ce" + +PR
> = "r0"
Can you please remove PR=r0 from new submissions? It's superfluous and
doesn't actually make a difference when people add patches.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFQzxYjMkyGM64RGpERAn3gAJ4/ggf8mAfnnXcBGhQFr9Q0AGQUrACgtVnO
v/1KDdk+ay2m/bpSJ5CZw/0=
=VvlP
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-17 13:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-17 12:24 [meta-multimedia PATCH V2] gst123: add package Ross Burton
2012-12-17 12:54 ` Koen Kooi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox