]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gst-plugins-ugly0-10.git/commitdiff
gst/mpegaudioparse/gstmpegaudioparse.c: Restore the segment handling logic.
authorJan Schmidt <thaytan@mad.scientist.com>
Mon, 19 Nov 2007 11:38:49 +0000 (11:38 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Mon, 19 Nov 2007 11:38:49 +0000 (11:38 +0000)
Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c:
Restore the segment handling logic.
Please don't do behavioural changes under the heading of 'leak fixes'
or 'whitespace changes', people.

ChangeLog
gst/mpegaudioparse/gstmpegaudioparse.c

index 12f95ef35b8f81c810c8d7b05c42ad6a8675b73f..3c664d55dbb33482aa589c01d4b15bda45173d00 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-11-19  Jan Schmidt  <jan.schmidt@sun.com>
+
+       * gst/mpegaudioparse/gstmpegaudioparse.c:
+       Restore the segment handling logic.
+       Please don't do behavioural changes under the heading of 'leak fixes'
+       or 'whitespace changes', people.
+
 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
 
        * gst/mpegaudioparse/gstmpegaudioparse.c:
index d8d2c400b649cc516f008f716b8441620c4e5f22..b5e751e7a7b9990d9d22156fc3bfe15399e49fd9 100644 (file)
@@ -425,14 +425,14 @@ gst_mp3parse_sink_event (GstPad * pad, GstEvent * event)
               ", pos = %" GST_TIME_FORMAT, GST_TIME_ARGS (seg_start),
               GST_TIME_ARGS (seg_stop), GST_TIME_ARGS (seg_pos));
         }
-      } else {
-        if (format != GST_FORMAT_TIME) {
-          /* Unknown incoming segment format. Output a default open-ended 
-           * TIME segment */
-          gst_event_unref (event);
-          event = gst_event_new_new_segment_full (update, rate, applied_rate,
-              GST_FORMAT_TIME, 0, GST_CLOCK_TIME_NONE, 0);
-        }
+      }
+
+      if (format != GST_FORMAT_TIME) {
+        /* Unknown incoming segment format. Output a default open-ended 
+         * TIME segment */
+        gst_event_unref (event);
+        event = gst_event_new_new_segment_full (update, rate, applied_rate,
+            GST_FORMAT_TIME, 0, GST_CLOCK_TIME_NONE, 0);
       }
 
       mp3parse->resyncing = TRUE;