http://bugs.winehq.org/show_bug.cgi?id=31836
Rafał Mużyło galtgendo@o2.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |galtgendo@o2.pl
--- Comment #1 from Rafał Mużyło galtgendo@o2.pl --- Created attachment 48035 --> http://bugs.winehq.org/attachment.cgi?id=48035 initial work toward gstreamer 1.0, non-working
So, following patch isn't working yet and might still be buggy, but it should be a good starting point toward gstreamer 1.0.
Notes about this patch: - I think I've got all the caps ported, but somebody should recheck - it seems that in the old code gst_pad_get_caps_reffed are used in gstdemux.c for no good reason (for the the _reffed part) - the parts definitely done done yet are those for gst_pad_set_checkgetrange_function, gst_pad_set_bufferalloc_function, gst_pad_set_acceptcaps_function and gst_pad_set_setcaps_function (those need to be rewritten into queries, but I'm not sure how) - as for that little bit around GST_SEEK_TYPE_CUR: given the notes in gstreamer 0.10 docs, I strongly suspect this is broken in the current code, though I'm not sure if my way is the proper fix (and it would be better to query position only once, but that would complicate the later code)
Anyway, before anything here is done for real, bug 30557 needs to be fixed.