multifilesink: post file message on EOS
authorThiago Santos <thiagoss@osg.samsung.com>
Mon, 30 Mar 2015 14:14:09 +0000 (11:14 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Sat, 4 Apr 2015 10:58:44 +0000 (07:58 -0300)
commite00f0de4f3e863c993af3137e7f75e364e3f6ac6
tree12ec0ddd3551b6d509f9f2902e22c6b117ff7935
parenta33d2bf0920e07ad85b21f678f04e12e860cb382
multifilesink: post file message on EOS

When multifilesink is operating in any mode other than one file
per buffer, the last file created won't have a file message posted
as multifilesink doesn't handle the EOS event.

This patch fixes it by using the last position to post a file
message when EOS is received. This should ensure at least the
time related data and the filename are posted to the application
or other elements

https://bugzilla.gnome.org/show_bug.cgi?id=747000
gst/multifile/gstmultifilesink.c