summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/xvid/gstxviddec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xvid/gstxviddec.c b/ext/xvid/gstxviddec.c
index 42c716ff..e61eaf61 100644
--- a/ext/xvid/gstxviddec.c
+++ b/ext/xvid/gstxviddec.c
@@ -355,7 +355,7 @@ gst_xviddec_change_state (GstElement * element)
{
GstXvidDec *xviddec = GST_XVIDDEC (element);
- switch (GST_STATE_PENDING (element)) {
+ switch (GST_STATE_TRANSITION (element)) {
case GST_STATE_PAUSED_TO_READY:
if (xviddec->handle) {
gst_xviddec_unset (xviddec);