[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [phonon-gstreamer/1.0-porting-for-merge] gstreamer: Accidentally removed a return statement during t
From:       Rohan Garg <rohangarg () kubuntu ! org>
Date:       2013-05-06 10:26:03
Message-ID: 20130506102603.D7151A605B () git ! kde ! org
[Download RAW message or body]

Git commit 179afb2a2ada21b0122adc90bf19911c7400a8ef by Rohan Garg.
Committed on 06/05/2013 at 12:24.
Pushed by garg into branch '1.0-porting-for-merge'.

Accidentally removed a return statement during the port

M  +1    -0    gstreamer/streamreader.cpp

http://commits.kde.org/phonon-gstreamer/179afb2a2ada21b0122adc90bf19911c7400a8ef

diff --git a/gstreamer/streamreader.cpp b/gstreamer/streamreader.cpp
index 6d06890..6e0ceb3 100644
--- a/gstreamer/streamreader.cpp
+++ b/gstreamer/streamreader.cpp
@@ -134,6 +134,7 @@ GstFlowReturn StreamReader::read(quint64 pos, int length, char *buffer)
         if (oldSize == currentBufferSize()) {
             // We didn't get any data, check if we are at the end of stream already.
             if (m_eos) {
+                return
             #if GST_VERSION < GST_VERSION_CHECK (1,0,0,0)
               GST_FLOW_UNEXPECTED;
             #else

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic