# HG changeset patch # User rosfran # Date 1170184661 0 # Node ID 8587b24643e874920f316159acbcd42240d194b3 # Parent 916ac82f8d6eb7502bb5a3d6cf5230d55f16e2f8 [svn r313] Put autoconf macros to extend capabilities and meta-tags coming from GStreamer official repositories. diff -r 916ac82f8d6e -r 8587b24643e8 gst-plugins-mythtv/configure.ac --- a/gst-plugins-mythtv/configure.ac Mon Jan 29 23:43:26 2007 +0000 +++ b/gst-plugins-mythtv/configure.ac Tue Jan 30 19:17:41 2007 +0000 @@ -176,6 +176,12 @@ # make GST_MAJORMINOR available in Makefile.am AC_SUBST(GST_MAJORMINOR) +AC_DEFINE(GST_LICENSE, "LGPL", [License for Distribution]) + +AC_DEFINE(GST_PACKAGE_NAME, "GStreamer", [Gstremar package name]) + +AC_DEFINE(GST_PACKAGE_ORIGIN, "http://gstreamer.net/", [Origin of this package] ) + AC_CONFIG_FILES([ Makefile src/Makefile diff -r 916ac82f8d6e -r 8587b24643e8 gst-plugins-mythtv/src/gstmythtvsrc.c --- a/gst-plugins-mythtv/src/gstmythtvsrc.c Mon Jan 29 23:43:26 2007 +0000 +++ b/gst-plugins-mythtv/src/gstmythtvsrc.c Tue Jan 30 19:17:41 2007 +0000 @@ -1035,7 +1035,6 @@ case GST_STATE_CHANGE_NULL_TO_READY: break; case GST_STATE_CHANGE_READY_TO_PAUSED: - break; case GST_STATE_CHANGE_PAUSED_TO_PLAYING: if (src->live_tv) { if (!gmyth_recorder_send_frontend_ready_command (src->spawn_livetv-> @@ -1059,14 +1058,6 @@ break; case GST_STATE_CHANGE_PLAYING_TO_PAUSED: case GST_STATE_CHANGE_PAUSED_TO_READY: - if (src->live_tv) { - if (!gmyth_recorder_send_frontend_ready_command (src->spawn_livetv-> - recorder)) - GST_WARNING_OBJECT (src, - "Couldn't send the FRONTEND_READY message to the backend!"); - else - GST_DEBUG_OBJECT (src, "FRONTEND_READY was sent to the backend"); - } break; default: break; @@ -1230,7 +1221,7 @@ GST_VERSION_MINOR, "mythtv", "lib MythTV src", - plugin_init, VERSION, "LGPL", "GStreamer", "http://gstreamer.net/"); + plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN); /*** GSTURIHANDLER INTERFACE *************************************************/