summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2013-12-23 10:50:53 +0900
committerCedric BAIL <cedric.bail@samsung.com>2013-12-23 10:59:42 +0900
commit9c752106f75c9a6415971cd965eedaf3d15fedc6 (patch)
tree52c05f04936d7832c689f354624eca9468afaf7f /configure.ac
parent574c5c1ba78d6a02f62b26e4070ef266b0d4bc8e (diff)
emotion: initial port of emotion to GStreamer 1.0
Some commits to port emotion to GStreamer 1.0 and implement some missing features, clean up code a bit and fix some bugs on the way. This works as good as the 0.10 code for me now with the emotion examples, just the Samsung hardware specific code is commented out. This should be ported by someone who has such hardware, and also in a clean way now that GStreamer since 1.0 has features to handle all this properly. There's still a lot of potential to clean things up and fix many bugs, and also to implement zerocopy rendering. But those are for later if there's actual interest in this at all. Commits: - Update configure checks and ecore example to GStreamer 1.0 - Initial port of emotion to GStreamer 1.0 - Samsung specific code commented out, should be ported by someone with the hardware. - Return GST_FLOW_FLUSHING when the sink is unlocked - Remove unused GSignal from the sink - Use GstVideoInfo to store the format details inside the sink - Add support for pixel-aspect-ratio - Store video format information in GstVideoInfo for the different video streams - Use GstAudioInfo to store the audio format information - Remove some unused defines - Header cleanup - Implement initial support for GstNavigation interface - Implement setting of audio/video channel Reviewers: cedric CC: cedric Differential Revision: https://phab.enlightenment.org/D387 Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac29
1 files changed, 25 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 9f3dcf1c2f..0751b391c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1796,8 +1796,8 @@ AC_ARG_ENABLE([g-main-loop],
1796 [want_g_main_loop="no"]) 1796 [want_g_main_loop="no"])
1797 1797
1798AC_ARG_ENABLE([gstreamer], 1798AC_ARG_ENABLE([gstreamer],
1799 [AC_HELP_STRING([--disable-gstreamer], 1799 [AC_HELP_STRING([--enable-gstreamer],
1800 [disable gstreamer support. @<:@default=enabled@:>@])], 1800 [enable gstreamer 0.10 support. @<:@default=disabled@:>@])],
1801 [ 1801 [
1802 if test "x${enableval}" = "xyes" ; then 1802 if test "x${enableval}" = "xyes" ; then
1803 want_gstreamer="yes" 1803 want_gstreamer="yes"
@@ -1805,7 +1805,19 @@ AC_ARG_ENABLE([gstreamer],
1805 want_gstreamer="no" 1805 want_gstreamer="no"
1806 fi 1806 fi
1807 ], 1807 ],
1808 [want_gstreamer="yes"]) 1808 [want_gstreamer="no"])
1809
1810AC_ARG_ENABLE([gstreamer1],
1811 [AC_HELP_STRING([--disable-gstreamer1],
1812 [disable gstreamer 1.0 support. @<:@default=enabled@:>@])],
1813 [
1814 if test "x${enableval}" = "xyes" ; then
1815 want_gstreamer1="yes"
1816 else
1817 want_gstreamer1="no"
1818 fi
1819 ],
1820 [want_gstreamer1="yes"])
1809 1821
1810AC_ARG_ENABLE([tizen], 1822AC_ARG_ENABLE([tizen],
1811 [AC_HELP_STRING([--enable-tizen], 1823 [AC_HELP_STRING([--enable-tizen],
@@ -1882,10 +1894,17 @@ if test "x${want_g_main_loop}" = "xyes" ; then
1882fi 1894fi
1883 1895
1884# not EFL_OPTIONAL_DEPEND_PKG() because it's only used for ecore examples 1896# not EFL_OPTIONAL_DEPEND_PKG() because it's only used for ecore examples
1897if test "${want_gstreamer1}" = "yes" -a "${want_gstreamer}" = "yes"; then
1898 AC_MSG_ERROR([You can only enable either GStreamer 1.0 or GStreamer 0.10 support])
1899fi
1900
1901if test "${want_gstreamer1}" = "yes"; then
1902 PKG_CHECK_MODULES([GSTREAMER], [gstreamer-1.0])
1903fi
1885if test "${want_gstreamer}" = "yes"; then 1904if test "${want_gstreamer}" = "yes"; then
1886 PKG_CHECK_MODULES([GSTREAMER], [gstreamer-0.10]) 1905 PKG_CHECK_MODULES([GSTREAMER], [gstreamer-0.10])
1887fi 1906fi
1888AM_CONDITIONAL([HAVE_GSTREAMER], [test "${want_gstreamer}" = "yes"]) 1907AM_CONDITIONAL([HAVE_GSTREAMER], [test "${want_gstreamer}" = "yes" -o "${want_gstreamer1}" = "yes"])
1889 1908
1890EFL_EVAL_PKGS([ECORE]) 1909EFL_EVAL_PKGS([ECORE])
1891 1910
@@ -3663,10 +3682,12 @@ have_gst_xoverlay="no"
3663 3682
3664EMOTION_MODULE([xine], [${want_xine}]) 3683EMOTION_MODULE([xine], [${want_xine}])
3665EMOTION_MODULE([gstreamer], [${want_gstreamer}]) 3684EMOTION_MODULE([gstreamer], [${want_gstreamer}])
3685EMOTION_MODULE([gstreamer1], [${want_gstreamer1}])
3666EMOTION_MODULE([generic], [${want_emotion_generic}]) 3686EMOTION_MODULE([generic], [${want_emotion_generic}])
3667 3687
3668EFL_ADD_FEATURE([EMOTION], [xine]) 3688EFL_ADD_FEATURE([EMOTION], [xine])
3669EFL_ADD_FEATURE([EMOTION], [gstreamer]) 3689EFL_ADD_FEATURE([EMOTION], [gstreamer])
3690EFL_ADD_FEATURE([EMOTION], [gstreamer1])
3670EFL_ADD_FEATURE([EMOTION], [generic], [${want_emotion_generic}]) 3691EFL_ADD_FEATURE([EMOTION], [generic], [${want_emotion_generic}])
3671 3692
3672EFL_EVAL_PKGS([EMOTION]) 3693EFL_EVAL_PKGS([EMOTION])