gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c
branchtrunk
changeset 113 7dcc53d63f37
parent 91 6b1e210c250a
child 133 ce8246fe60a2
     1.1 --- a/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c	Fri Nov 17 13:18:48 2006 +0000
     1.2 +++ b/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c	Fri Nov 24 21:49:40 2006 +0000
     1.3 @@ -730,9 +730,6 @@
     1.4  
     1.5        GST_BUFFER_SIZE (buf) = h->i_length;
     1.6        GST_BUFFER_TIMESTAMP (buf) = timestamp;
     1.7 -
     1.8 -      if ((h->i_type == 'V') || (h->i_type == 'A')) {
     1.9 -      }
    1.10    }
    1.11    else {
    1.12      goto done;
    1.13 @@ -871,7 +868,8 @@
    1.14  
    1.15    if (h->i_type != 'D') {
    1.16      g_free (h);
    1.17 -    return GST_FLOW_ERROR;
    1.18 +    GST_WARNING_OBJECT (nuv, "Unsuported rtjpeg");
    1.19 +    return GST_FLOW_NOT_SUPPORTED;
    1.20    }
    1.21  
    1.22    if (h->i_length > 0) {
    1.23 @@ -879,7 +877,8 @@
    1.24        nuv->priv->state = GST_NUV_DEMUX_MPEG_DATA;
    1.25      } else {
    1.26        g_free (h);
    1.27 -      return GST_FLOW_ERROR;
    1.28 +      GST_WARNING_OBJECT (nuv, "only file with extended chunk are supported");
    1.29 +      return GST_FLOW_NOT_SUPPORTED;
    1.30      }
    1.31    } else {
    1.32      nuv->priv->state = GST_NUV_DEMUX_EXTEND_HEADER;