baseparse: fix GST_BASE_PARSE_FLAG_LOST_SYNC
authorIlya Konstantinov <ilya.konstantinov@gmail.com>
Tue, 28 Apr 2015 14:54:51 +0000 (17:54 +0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Tue, 28 Apr 2015 15:57:35 +0000 (12:57 -0300)
commitb58245ac0a53336ea90e6462a0a3ca3d70e3d8d0
tree7517d676e1acf36238726f3b406d63671f7e0103
parent8641997630a9a63cc23f3e3f883496073ea61f34
baseparse: fix GST_BASE_PARSE_FLAG_LOST_SYNC

Since frame->priv->discont was cleared earlier,
GST_BASE_PARSE_FLAG_LOST_SYNC was never being set.

Take the chance to refactor the frame creation a bit to
organize the flags setting and reset.

https://bugzilla.gnome.org/show_bug.cgi?id=738237
libs/gst/base/gstbaseparse.c