diff -r 6b1e210c250a -r dfa72795bd32 gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c --- a/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c Fri Nov 17 13:18:48 2006 +0000 +++ b/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c Fri Nov 24 21:19:49 2006 +0000 @@ -730,9 +730,6 @@ GST_BUFFER_SIZE (buf) = h->i_length; GST_BUFFER_TIMESTAMP (buf) = timestamp; - - if ((h->i_type == 'V') || (h->i_type == 'A')) { - } } else { goto done; @@ -871,7 +868,8 @@ if (h->i_type != 'D') { g_free (h); - return GST_FLOW_ERROR; + GST_WARNING_OBJECT (nuv, "Unsuported rtjpeg"); + return GST_FLOW_NOT_SUPPORTED; } if (h->i_length > 0) { @@ -879,7 +877,8 @@ nuv->priv->state = GST_NUV_DEMUX_MPEG_DATA; } else { g_free (h); - return GST_FLOW_ERROR; + GST_WARNING_OBJECT (nuv, "only file with extended chunk are supported"); + return GST_FLOW_NOT_SUPPORTED; } } else { nuv->priv->state = GST_NUV_DEMUX_EXTEND_HEADER;