diff -r c517a78bf7bf -r 15d85ba360bb gst-gmyth/nuvdemux/gstnuvdemux.c --- a/gst-gmyth/nuvdemux/gstnuvdemux.c Wed Aug 22 17:57:16 2007 +0100 +++ b/gst-gmyth/nuvdemux/gstnuvdemux.c Mon Nov 19 18:06:11 2007 +0000 @@ -882,13 +882,12 @@ goto done; } - if ((h.i_timecode < 0)) { - h.i_timecode = 0; - // goto done; + if ((h.i_timecode > 0) && (h.i_type == 'V')) { + g_debug ("TS: %ld", h.i_timecode); + timestamp = h.i_timecode * GST_MSECOND; + GST_BUFFER_TIMESTAMP(buf) = timestamp; } - timestamp = h.i_timecode * GST_MSECOND; - GST_BUFFER_TIMESTAMP(buf) = timestamp; } else { goto done; }