media: only set keyframe flag when modifying start
authorWim Taymans <wtaymans@redhat.com>
Thu, 6 Feb 2014 08:48:05 +0000 (09:48 +0100)
committerWim Taymans <wtaymans@redhat.com>
Thu, 6 Feb 2014 08:48:05 +0000 (09:48 +0100)
commit450b9d0a14fa8e727c339c02e0b09a2a5969b4c7
tree9f64b52d7f4272d4e951b06f8a0608686cdbf621
parentb1845b0864aa0f60d81a8fef77a7b829a1e3e8f4
media: only set keyframe flag when modifying start

Only set the keyframe flag when we modify the start position. The
keyframe flag should probably be ignored when no change is requested but
until we can claim this is all documented properly and all demuxer
implement this, avoid setting the flag.

See also https://bugzilla.gnome.org/show_bug.cgi?id=723075
gst/rtsp-server/rtsp-media.c