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 8579ce0ed656e0c512b37ff70bebd54cab4d4e7d..4dab76096cb84988dc2b6366cf5bd964fe5857d7 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 8579ce0ed656e0c512b37ff70bebd54cab4d4e7d
+Subproject commit 4dab76096cb84988dc2b6366cf5bd964fe5857d7
index 36f8418f7fb426de9a63b30dba7f77a1365e1443..bb08cbbbb9e24c008cd5ce2c174ff02be2840d72 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)) {