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 18:51:42 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;