summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);