diff -r 4a7fc19705f0 -r 194c44ef8da4 gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c --- a/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c Thu Jan 18 14:52:17 2007 +0000 +++ b/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c Tue Feb 13 23:15:54 2007 +0000 @@ -662,8 +662,6 @@ "layer", G_TYPE_INT, 3, // fixme: magic number "mpegversion", G_TYPE_INT, nuv->priv->eh.i_version, NULL); - char *tmp = gst_caps_to_string (audio_caps); - nuv->priv->src_audio_pad = gst_nuv_demux_create_pad (nuv, audio_caps, &audio_src_template, "audio_src"); gst_caps_unref (audio_caps); } @@ -724,7 +722,8 @@ } if ((h.i_timecode < 0)) { - goto done; + h.i_timecode = 0; + //goto done; } timestamp = h.i_timecode * GST_MSECOND; @@ -1146,7 +1145,7 @@ static gboolean gst_nuv_demux_sink_event (GstPad *pad, GstEvent *event) { - gboolean res; + gboolean res = FALSE; GstNuvDemux *nuv; nuv = GST_NUV_DEMUX (gst_pad_get_parent (pad)); @@ -1169,7 +1168,7 @@ case GST_EVENT_NEWSEGMENT: { gint64 start, stop, time; - gdouble rate, arate; + gdouble rate; GstFormat format; gboolean update;