[svn r63] Some fixes.
1.1 --- a/gst-plugins-nuvdemux/src/gstnuvdemux.c Fri Oct 27 23:32:24 2006 +0100
1.2 +++ b/gst-plugins-nuvdemux/src/gstnuvdemux.c Fri Oct 27 23:42:34 2006 +0100
1.3 @@ -52,8 +52,8 @@
1.4 #include <gst/gstplugin.h>
1.5 #include <string.h>
1.6
1.7 +#define GETTEXT_PACKAGE "gst-plugins-nuvdemux-0.10.3"
1.8 #include <glib/gi18n.h>
1.9 -
1.10 #include "gstnuvdemux.h"
1.11
1.12 GST_DEBUG_CATEGORY_STATIC (nuvdemux_debug);
1.13 @@ -1100,7 +1100,7 @@
1.14 static GstStateChangeReturn
1.15 gst_nuv_demux_change_state (GstElement * element, GstStateChange transition)
1.16 {
1.17 - GstStateChangeReturn ret;
1.18 + GstStateChangeReturn ret = GST_STATE_CHANGE_SUCCESS;
1.19
1.20 switch (transition) {
1.21 case GST_STATE_CHANGE_READY_TO_PAUSED:
1.22 @@ -1115,7 +1115,7 @@
1.23
1.24 switch (transition) {
1.25 case GST_STATE_CHANGE_PAUSED_TO_READY:
1.26 - gst_nuv_demux_destoy_src_pad (GST_NUV_DEMUX (element));
1.27 + //gst_nuv_demux_destoy_src_pad (GST_NUV_DEMUX (element));
1.28 gst_nuv_demux_reset (GST_NUV_DEMUX (element));
1.29 break;
1.30 default: