Package: freetuxtv
Version: 0.6.5~dfsg1-1
Severity: grave
Tags: upstream patch
Justification: renders package unusable
Dear Maintainer,
The freetuxtv package wrongly uses libvlc_media_new_path instead of
libvlc_media_new_location.
It seems that recent VLC changes made this error harmful, by prefixing URI with
current path
when using libvlc_media_new_path.
Sample output of a non working call :
[FreetuxTV] MESSAGE : Launching channel 'France 2 (bas débit)' at '0:2'
->
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=ld
[LibVLC-Gtk] INFO : Playing
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=ld
[LibVLC-Gtk] INFO : Using vlc options [:deinterlace=0 :access=timeshift
:input-timeshift-granularity=50]
[0x7fb0b4003ad8] filesystem access error: cannot open file
/home/user/rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=ld
(No such file or directory)
The attached patch simply replaces libvlc_media_new_path with
libvlc_media_new_location
It has been tested also under wheezy.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (600, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages freetuxtv depends on:
ii libatk1.0-0 2.10.0-2
ii libc6 2.17-96
ii libcairo-gobject2 1.12.16-2
ii libcairo2 1.12.16-2
ii libcurl3 7.33.0-1
ii libdbus-1-3 1.6.18-1
ii libdbus-glib-1-2 0.100.2-1
ii libgdk-pixbuf2.0-0 2.28.2-1
ii libglib2.0-0 2.36.4-1
ii libgtk-3-0 3.8.6-1
ii libnotify4 0.7.6-1
ii libpango1.0-0 1.36.0-1
ii libsqlite3-0 3.8.1-1
ii libvlc5 2.1.0-2
ii vlc 2.1.0-2
freetuxtv recommends no packages.
freetuxtv suggests no packages.
-- no debconf information
diff -Naur freetuxtv-0.6.5~dfsg1/lib/libvlc-gtk/gtk-libvlc-media-player.c freetuxtv-0.6.5~dfsg1_correct/lib/libvlc-gtk/gtk-libvlc-media-player.c
--- freetuxtv-0.6.5~dfsg1/lib/libvlc-gtk/gtk-libvlc-media-player.c 2012-05-09 21:47:42.000000000 +0200
+++ freetuxtv-0.6.5~dfsg1_correct/lib/libvlc-gtk/gtk-libvlc-media-player.c 2013-11-17 23:08:32.839332187 +0100
@@ -708,7 +708,7 @@
raise_error(self, error, &_vlcexcep);
#else
libvlc_media_t *m;
- m = libvlc_media_new_path (libvlc_instance, media->mrl);
+ m = libvlc_media_new_location (libvlc_instance, media->mrl);
raise_error(self, error, NULL);
if(list_options != NULL){