do not change caps in middle of stream except on new streams fixes #139382
authorThomas Vander Stichele <thomas@apestaart.org>
Wed, 7 Apr 2004 15:48:40 +0000 (15:48 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Wed, 7 Apr 2004 15:48:40 +0000 (15:48 +0000)
Original commit message from CVS:
do not change caps in middle of stream except on new streams
fixes #139382

ChangeLog

index 21c0d91a8fd38f86a9451e5b63230eeede5a8edb..b0f530f7bb3319fd91a23ed440cca446448de103 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2004-04-07  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * ext/mad/gstmad.c: (gst_mad_handle_event),
+       (gst_mad_check_caps_reset), (gst_mad_chain),
+       (gst_mad_change_state):
+          only set explicit caps if they haven't been set before for
+          this stream.  MPEG-audio sample rate/channels aren't allowed
+          to change in-stream.
+          Fixes #139382
+
 2004-04-06  Ronald Bultje  <rbultje@ronald.bitfreak.net>
 
        * ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_base_init),