ext/dv/gstdvdec.c: Fix caps negotiation.
authorJan Schmidt <thaytan@mad.scientist.com>
Tue, 6 Jan 2004 16:42:09 +0000 (16:42 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Tue, 6 Jan 2004 16:42:09 +0000 (16:42 +0000)
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_loop):
Fix caps negotiation.

* ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_class_init),
(dvdnavsrc_update_buttoninfo), (dvdnavsrc_get),
(dvdnavsrc_get_event_mask), (dvdnav_handle_navigation_event),
(dvdnavsrc_event):
* ext/mpeg2dec/gstmpeg2dec.c:
* gst-libs/gst/navigation/navigation.c:
(gst_navigation_send_key_event), (gst_navigation_send_mouse_event):
* gst-libs/gst/navigation/navigation.h:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_handle_src_event):
* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents):
Super-simple first version of mouse and keyboard events. Clicking
on a DVD menu now works, although it may not take you where you
expected.

* gst/sine/gstsinesrc.c: (gst_sinesrc_src_fixate):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_src_fixate):
These fixate functions were broken - they never actually
fixated :)

ChangeLog
ext/dv/gstdvdec.c

index 87e1ec042bb2a1f988ef7e4e41ab09b0660247b3..744721e6634117ff4f7daf1f5fb96e2bb6ca9c04 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,29 @@
+2004-01-07  Jan Schmidt  <thaytan@mad.scientist.com>
+
+       * ext/dv/gstdvdec.c: (gst_dvdec_loop):
+       Fix caps negotiation.
+
+       * ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_class_init),
+       (dvdnavsrc_update_buttoninfo), (dvdnavsrc_get),
+       (dvdnavsrc_get_event_mask), (dvdnav_handle_navigation_event),
+       (dvdnavsrc_event):
+       * ext/mpeg2dec/gstmpeg2dec.c:
+       * gst-libs/gst/navigation/navigation.c:
+       (gst_navigation_send_key_event), (gst_navigation_send_mouse_event):
+       * gst-libs/gst/navigation/navigation.h:
+       * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_handle_src_event):
+       * sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents):
+       * sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents):
+       Super-simple first version of mouse and keyboard events. Clicking
+       on a DVD menu now works, although it may not take you where you
+       expected.
+
+       * gst/sine/gstsinesrc.c: (gst_sinesrc_src_fixate):
+       * gst/videotestsrc/gstvideotestsrc.c:
+       (gst_videotestsrc_src_fixate):
+       These fixate functions were broken - they never actually
+       fixated :)
+       
 2004-01-06  Ronald Bultje  <rbultje@ronald.bitfreak.net>
 
        * ext/shout/gstshout.c: (gst_icecastsend_base_init),
index 593ac65bce6268538d6d0501da4ded2e94647f7b..dfd48c13ed1d2bfab6a185c7b56015e9e565d5fe 100644 (file)
@@ -743,7 +743,8 @@ gst_dvdec_loop (GstElement *element)
 
     for (i=0; i < gst_caps_get_size(caps); i++) {
       GstStructure *to_try_struct = gst_caps_get_structure (caps, i);
-      GstCaps *try_caps = gst_caps_new_full (to_try_struct);
+      GstCaps *try_caps = 
+        gst_caps_new_full (gst_structure_copy(to_try_struct), NULL);
 
       /* try each format */
       if (gst_pad_try_set_caps (dvdec->videosrcpad, try_caps) > 0) {