After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 547661 - vcd: port to 1.0
vcd: port to 1.0
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: git master
Assigned To: Reynaldo H. Verdejo Pinochet
GStreamer Maintainers
: 325441 733794 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-08-13 19:42 UTC by Onkar Shinde
Modified: 2018-11-03 13:03 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
vcdsrc: port to 1. (6.63 KB, patch)
2014-12-01 23:43 UTC, Reynaldo H. Verdejo Pinochet
needs-work Details | Review
vcdsrc: port to 1. (6.68 KB, patch)
2014-12-04 16:36 UTC, Reynaldo H. Verdejo Pinochet
committed Details | Review

Description Onkar Shinde 2008-08-13 19:42:01 UTC
I should have logged this bug long time ago. But I didn't keep an eye on release schedule.

Now the VCD plugin works properly and plays any track with command 'gst-launch-0.10 playbin uri=vcd://n', it will be nice if seek support is added so that VCD can be played from totem with seek, track changes etc.
Comment 1 Walter Cheuk 2011-10-31 05:44:09 UTC
VCDs just play the first track and stop. Please help to fix it.
Comment 2 Tim-Philipp Müller 2014-11-26 15:20:07 UTC
Let's re-purpose this bug as a port-to-1.0 enhancement bug, and hopefully whoever ports it can also take care of the seeking then.

Other vcd issues: bug #325441 (vcdsrc doesn't handle CUE/BIN images) and bug #733794 (Error trying to play a VCD from a CDR).
Comment 3 Tim-Philipp Müller 2014-11-26 15:20:59 UTC
*** Bug 733794 has been marked as a duplicate of this bug. ***
Comment 4 Tim-Philipp Müller 2014-11-26 15:21:26 UTC
*** Bug 325441 has been marked as a duplicate of this bug. ***
Comment 5 Reynaldo H. Verdejo Pinochet 2014-12-01 16:57:41 UTC
I will take care of this one.
Comment 6 Reynaldo H. Verdejo Pinochet 2014-12-01 23:43:00 UTC
Created attachment 291951 [details] [review]
vcdsrc: port to 1.

API only port to 1. Untested
Comment 7 Sebastian Dröge (slomo) 2014-12-04 15:47:44 UTC
Review of attachment 291951 [details] [review]:

Looks almost ready, good work :)

::: sys/vcd/vcdsrc.c
@@ +356,3 @@
+error_mapped:
+  gst_buffer_unmap (outbuf, &map_info);
+error_unmapped:

You should also unref outbuf here

@@ +476,1 @@
 gst_vcdsrc_uri_get_uri (GstURIHandler * handler)

This change probably means that you need to g_strdup() the URI you return
Comment 8 Reynaldo H. Verdejo Pinochet 2014-12-04 16:35:15 UTC
Thanks for taking a look Sebastian

(In reply to comment #7)
> Review of attachment 291951 [details] [review]:
> [...]
> ::: sys/vcd/vcdsrc.c
> @@ +356,3 @@
> +error_mapped:
> +  gst_buffer_unmap (outbuf, &map_info);
> +error_unmapped:
> 
> You should also unref outbuf here

Done

> @@ +476,1 @@
>  gst_vcdsrc_uri_get_uri (GstURIHandler * handler)
> 
> This change probably means that you need to g_strdup() the URI you return

Not sure I understand. I'm already duping that return
Comment 9 Reynaldo H. Verdejo Pinochet 2014-12-04 16:36:45 UTC
Created attachment 292137 [details] [review]
vcdsrc: port to 1.

unref buffer at failure
Comment 10 Sebastian Dröge (slomo) 2014-12-04 16:45:29 UTC
(In reply to comment #8)

> > @@ +476,1 @@
> >  gst_vcdsrc_uri_get_uri (GstURIHandler * handler)
> > 
> > This change probably means that you need to g_strdup() the URI you return
> 
> Not sure I understand. I'm already duping that return

I see, then this code was leaking in 0.10 ;)
Comment 11 Reynaldo H. Verdejo Pinochet 2014-12-04 20:07:23 UTC
Comment on attachment 292137 [details] [review]
vcdsrc: port to 1.

Not closing the bug yet as there are related and
pending enhancements requested but pushed the
port to 1.0 to get this started. Thanks again for the review.

commit 89eb1e9a038d21ca468b357905b35bf6a38ed0be
Author: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Date:   Mon Dec 1 16:40:24 2014 -0300

    vcdsrc: port to 1.
Comment 12 GStreamer system administrator 2018-11-03 13:03:28 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/5.