summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <rob@ti.com>2010-12-12 11:54:35 -0600
committerRob Clark <rob@ti.com>2010-12-13 14:51:53 -0600
commit987c199370a24921f9a86c94f502a2a4a8ffbfe3 (patch)
tree497b36cdf6bb153029e6737e8276735247d163aa
parentfa5192ffb4a8122a42f721ea7513eb749ab85946 (diff)
rmdemux: set GST_BUFFER_FLAG_DELTA_UNIT properly
Signed-off-by: Rob Clark <rob@ti.com>
-rw-r--r--gst/realmedia/rmdemux.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/realmedia/rmdemux.c b/gst/realmedia/rmdemux.c
index 91070c11..07cfb4cb 100644
--- a/gst/realmedia/rmdemux.c
+++ b/gst/realmedia/rmdemux.c
@@ -2462,6 +2462,10 @@ gst_rmdemux_parse_video_packet (GstRMDemux * rmdemux, GstRMDemuxStream * stream,
stream->discont = FALSE;
}
+ if (!key) {
+ GST_BUFFER_FLAG_SET (out, GST_BUFFER_FLAG_DELTA_UNIT);
+ }
+
ret = gst_pad_push (stream->pad, out);
ret = gst_rmdemux_combine_flows (rmdemux, stream, ret);
if (ret != GST_FLOW_OK)