1.1 --- a/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c Thu Mar 22 19:32:08 2007 +0000
1.2 +++ b/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c Thu Mar 22 20:22:05 2007 +0000
1.3 @@ -620,8 +620,7 @@
1.4 break;
1.5 case GST_QUERY_DURATION:
1.6 {
1.7 - g_debug ("QUERY DURATION %" G_GUINT64_FORMAT, nuv->priv->duration_time);
1.8 - if (nuv->priv->duration_time == GST_CLOCK_TIME_NONE) {
1.9 + if (nuv->priv->duration_time != GST_CLOCK_TIME_NONE) {
1.10 gst_query_set_duration (query, GST_FORMAT_TIME, nuv->priv->duration_time);
1.11 res = TRUE;
1.12 }
1.13 @@ -758,14 +757,11 @@
1.14 do {
1.15 ret = gst_nuv_demux_frame_header_load (nuv, &nuv->priv->fh);
1.16 if (ret != GST_FLOW_OK) {
1.17 - g_debug ("FAIL TO READ HEADER");
1.18 return ret;
1.19 }
1.20
1.21 if (gst_nuv_demux_validate_header (&nuv->priv->fh) == TRUE)
1.22 - valid = TRUE;
1.23 - else
1.24 - g_debug ("Invalid frame header");
1.25 + valid = TRUE;
1.26
1.27 } while (valid == FALSE);
1.28