# HG changeset patch # User rosfran # Date 1161988954 -3600 # Node ID 2a552f003c4e91b9cf58ae7f2b42a6560dda981b # Parent dedcca2fe5299547f3c0c6818f159378b923d1b5 [svn r63] Some fixes. diff -r dedcca2fe529 -r 2a552f003c4e gst-plugins-nuvdemux/src/gstnuvdemux.c --- a/gst-plugins-nuvdemux/src/gstnuvdemux.c Fri Oct 27 23:32:24 2006 +0100 +++ b/gst-plugins-nuvdemux/src/gstnuvdemux.c Fri Oct 27 23:42:34 2006 +0100 @@ -52,8 +52,8 @@ #include #include +#define GETTEXT_PACKAGE "gst-plugins-nuvdemux-0.10.3" #include - #include "gstnuvdemux.h" GST_DEBUG_CATEGORY_STATIC (nuvdemux_debug); @@ -1100,7 +1100,7 @@ static GstStateChangeReturn gst_nuv_demux_change_state (GstElement * element, GstStateChange transition) { - GstStateChangeReturn ret; + GstStateChangeReturn ret = GST_STATE_CHANGE_SUCCESS; switch (transition) { case GST_STATE_CHANGE_READY_TO_PAUSED: @@ -1115,7 +1115,7 @@ switch (transition) { case GST_STATE_CHANGE_PAUSED_TO_READY: - gst_nuv_demux_destoy_src_pad (GST_NUV_DEMUX (element)); + //gst_nuv_demux_destoy_src_pad (GST_NUV_DEMUX (element)); gst_nuv_demux_reset (GST_NUV_DEMUX (element)); break; default: