Fix sending End Of Stream on gst plugin
authorDaniel Nicoletti <dantti12@gmail.com>
Mon, 27 Jan 2014 13:44:22 +0000 (11:44 -0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 27 Jan 2014 14:22:12 +0000 (15:22 +0100)
commit7451906b71e7271238ecf9446b7960ab2c647cc9
tree33f50f34d38bf1624d176fa97c637307cc94bd84
parentd26fcf043db5afba9c38653531794b6cf8f13e54
Fix sending End Of Stream on gst plugin

When streaming to gst a typefind operation
is performed which jumps around to find which
codec the file provides, this fix the call to
send an EOS before we try to read and not after
which causes confusion to gst.

Task-number: QTBUG-32963
Change-Id: I2658b6a4e960430c8ab422a3bee5e11956663116
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
src/gsttools/qgstappsrc.cpp