From 48eeb2ddd7bbff6c60f0e5f6d7665d9d74a25839 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Thu, 26 Dec 2002 16:31:19 +0000 Subject: [PATCH] On Ready to Paused the internal state was set to not setup. Fix Original commit message from CVS: On Ready to Paused the internal state was set to not setup. Fix --- gst/wavenc/gstwavenc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gst/wavenc/gstwavenc.c b/gst/wavenc/gstwavenc.c index aadc9ee..27d1c00 100644 --- a/gst/wavenc/gstwavenc.c +++ b/gst/wavenc/gstwavenc.c @@ -133,8 +133,8 @@ gst_wavenc_change_state (GstElement *element) switch (GST_STATE_TRANSITION (element)) { case GST_STATE_NULL_TO_READY: - case GST_STATE_READY_TO_PAUSED: - wavenc->setup = FALSE; + case GST_STATE_PAUSED_TO_READY: + wavenc->setup = FALSE; break; default: @@ -203,6 +203,7 @@ gst_wavenc_setup (GstWavEnc *wavenc) wavenc->setup = TRUE; return TRUE; } + static GstPadConnectReturn gst_wavenc_sinkconnect (GstPad *pad, GstCaps *caps) -- 2.7.4