summaryrefslogtreecommitdiffstats
path: root/ext/xvid
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-05-18 10:09:41 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-05-18 10:09:41 +0000
commit9ea4aec786b13cda203707f3521e6482f9d0004a (patch)
tree8db1e8fda135e76bd2b26cab5b205df2baf6379c /ext/xvid
parent6512a163da4246606aeef7087cc73e326466ed5c (diff)
downloadgst-plugins-bad-9ea4aec786b13cda203707f3521e6482f9d0004a.tar.gz
gst-plugins-bad-9ea4aec786b13cda203707f3521e6482f9d0004a.tar.bz2
gst-plugins-bad-9ea4aec786b13cda203707f3521e6482f9d0004a.zip
ext/: Gcc4 fixes.
Original commit message from CVS: * ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_make_clut_change_event): * ext/hermes/gsthermescolorspace.c: (gst_hermes_colorspace_structure_to_hermes_format): * ext/libmms/gstmms.c: (gst_mms_get): * ext/shout/gstshout.h: * ext/xvid/gstxvidenc.c: (gst_xvidenc_change_state): Gcc4 fixes.
Diffstat (limited to 'ext/xvid')
-rw-r--r--ext/xvid/gstxvidenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xvid/gstxvidenc.c b/ext/xvid/gstxvidenc.c
index 7b917534..91c4743e 100644
--- a/ext/xvid/gstxvidenc.c
+++ b/ext/xvid/gstxvidenc.c
@@ -480,7 +480,7 @@ gst_xvidenc_change_state (GstElement * element)
{
GstXvidEnc *xvidenc = GST_XVIDENC (element);
- switch (GST_STATE_PENDING (element)) {
+ switch (GST_STATE_TRANSITION (element)) {
case GST_STATE_PAUSED_TO_READY:
if (xvidenc->handle) {
xvid_encore (xvidenc->handle, XVID_ENC_DESTROY, NULL, NULL);