summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-05-18 13:00:33 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-05-18 13:00:33 +0000
commit57720fa2e3c2168c41e9121bf63ee2e5528ff5fb (patch)
treec783ba0e041e52d10d8142522e28c2e0d5ae5d41
parent0154c735b7027326f16726e9f8f7a0fbdc44c387 (diff)
downloadgst-plugins-bad-57720fa2e3c2168c41e9121bf63ee2e5528ff5fb.tar.gz
gst-plugins-bad-57720fa2e3c2168c41e9121bf63ee2e5528ff5fb.tar.bz2
gst-plugins-bad-57720fa2e3c2168c41e9121bf63ee2e5528ff5fb.zip
ext/xvid/gstxviddec.c: More gcc4.
Original commit message from CVS: * ext/xvid/gstxviddec.c: (gst_xviddec_change_state): More gcc4.
-rw-r--r--ChangeLog5
-rw-r--r--ext/xvid/gstxviddec.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 271708c4..4beecc1a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+ * ext/xvid/gstxviddec.c: (gst_xviddec_change_state):
+ More gcc4.
+
+2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+
* po/POTFILES.in:
More updates.
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);