gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c
branchtrunk
changeset 385 ab93678082df
parent 273 4a7fc19705f0
child 422 fc0a5721cd04
     1.1 --- a/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c	Thu Jan 18 14:52:17 2007 +0000
     1.2 +++ b/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c	Sun Mar 04 06:53:50 2007 +0000
     1.3 @@ -662,8 +662,6 @@
     1.4          "layer", G_TYPE_INT, 3, // fixme: magic number
     1.5          "mpegversion", G_TYPE_INT, nuv->priv->eh.i_version, NULL);
     1.6      
     1.7 -    char *tmp = gst_caps_to_string (audio_caps);
     1.8 -
     1.9      nuv->priv->src_audio_pad = gst_nuv_demux_create_pad (nuv, audio_caps, &audio_src_template, "audio_src");
    1.10      gst_caps_unref (audio_caps);
    1.11    }
    1.12 @@ -724,7 +722,8 @@
    1.13        }
    1.14  
    1.15        if ((h.i_timecode < 0)) {
    1.16 -	goto done;
    1.17 +        h.i_timecode = 0;
    1.18 +	    //goto done;
    1.19        }
    1.20  
    1.21        timestamp = h.i_timecode * GST_MSECOND;
    1.22 @@ -1146,7 +1145,7 @@
    1.23  static gboolean
    1.24  gst_nuv_demux_sink_event (GstPad *pad, GstEvent *event)
    1.25  {
    1.26 -  gboolean res;
    1.27 +  gboolean res = FALSE;
    1.28    GstNuvDemux *nuv;
    1.29  
    1.30    nuv = GST_NUV_DEMUX (gst_pad_get_parent (pad));
    1.31 @@ -1169,7 +1168,7 @@
    1.32      case GST_EVENT_NEWSEGMENT:
    1.33      {
    1.34        gint64 start, stop, time;
    1.35 -      gdouble rate, arate;
    1.36 +      gdouble rate;
    1.37        GstFormat format;
    1.38        gboolean update;
    1.39