API anti-bork fix
authorThomas Vander Stichele <thomas@apestaart.org>
Thu, 13 Jun 2002 12:17:26 +0000 (12:17 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Thu, 13 Jun 2002 12:17:26 +0000 (12:17 +0000)
Original commit message from CVS:
API anti-bork fix

common
ext/dv/gstdvdec.c

diff --git a/common b/common
index 8579ce0..4dab760 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 8579ce0ed656e0c512b37ff70bebd54cab4d4e7d
+Subproject commit 4dab76096cb84988dc2b6366cf5bd964fe5857d7
index 36f8418..bb08cbb 100644 (file)
@@ -315,7 +315,7 @@ gst_dvdec_loop (GstElement *element)
     trylist = gst_caps_normalize (trylist);
 
     while (trylist) {
-      GstCaps *to_try = gst_caps_copy_first (trylist);
+      GstCaps *to_try = gst_caps_copy_1 (trylist);
 
       /* try each format */
       if (gst_pad_try_set_caps (dvdec->videosrcpad, to_try)) {