variables:
* print an error message when the variable creation failed because of a name
clash (two variables with the same name but different types)
* print a warning when calling var_Get on a void variable
* fix one comment as the list is NOT sorted (and that too expensif to do).
Ilkka Ollakka [Fri, 31 Jul 2009 10:36:58 +0000 (13:36 +0300)]
QT4: set sorting-connections by hand
Thisway playlist don't run sort when created (in case of you start vlc,
and don't set playlist visible then adding stuff. When you open playlist
it would sort the stuff).
Also remove showing sort-indicator incorrectly on start (don't show
it at all before user clicks to sort).
podcast: implement image support (it might be a good idea to be able to set the
art url only for the input parent as that's always the same image for all
inputs).
Ilkka Ollakka [Thu, 30 Jul 2009 10:56:45 +0000 (13:56 +0300)]
dvb-c: somewhat working channel-scanning in linux
it checks table of frequencies that usually contains channels. Thou
dvb-c users need to check if modulation and symbol-rate are correct for
them (atleast for me modulation auto didn't work).
example commandline that worked for me:
vlc dvb:// --dvb-srate=6875000 --dvb-modulation 128
First try using no interlacing and fallback to driver's default if it
isn't possible. Might fix some issues. We still need to declare images
as interlaced to VLC afterwards, but that's another problem.
Otherwise they can be mixed up with the next request. Until now, the
connection was always terminated after an error. However, with
authentication, the request can be repeated with authentication
information.
Signed-off-by: Michael Hanselmann <public@hansmi.ch> Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Add library functions for HTTP client authentication
These functions can be used by HTTP clients to authenticate against
HTTP servers using the Basic and Digest algorithms as described in
RFC2617.
Most of the code is taken from modules/access/http.c, although it
includes modifications to make it work as library functions and to
fix some issues. The HTTP access module can be converted at a
later point, but there's still some stuff needing cleanup first.
These functions will be used for the Remote Audio Output Protocol
plugin to authenticate VLC against RAOP-compatible devices if the
user enabled password protection.
Signed-off-by: Michael Hanselmann <public@hansmi.ch> Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
EXTRA_DATA doesn't seem to be a "primary" even if DATA is and EXTRA is a valid prefix.
Also i don't think .vlt are often rebuilt so it should be in clean rather than mostly clean
Ilkka Ollakka [Tue, 28 Jul 2009 10:43:57 +0000 (13:43 +0300)]
x264: use ABR-mode if user specifies bitrate
Also set vbv-bufsize if user didn't specify them.
bufsize is bitrate * seconds between keyframes instead of earlier
2*bitrate. Recommended by Dark_Shikari
So now you can stream for mobiles with following:
sout="#transcode{deinterlace,acodec=mp4a,vcodec=h264,width=320,height=180,venc=x264{no-cabac,bframes=0,ref=3,level=12,keyint=50},vb=180,ab=64,channels=2}...
tested with rtp-output and G1 android. Produces quite stable near cbr
stream.
And file-encoding should be ok with defaults (without any
venc=x264-settings or bitrates), if not targeted to
handhelds/streaming.
Ilkka Ollakka [Tue, 28 Jul 2009 10:39:21 +0000 (13:39 +0300)]
transcode: change default videobitrate to 0
change from default 800 to zero, as nowdays most of bitrate transcoding
is for streaming, and 800 ain't good default for that either. Also
thisways it's easier on check different encoding modes (cbr/qp/etc) on
video encoder modules.
I did quick look on different modules, but didn't spot anything obvious
that would break. I'll look ffmpeg and x264 more closely next.
Ilkka Ollakka [Mon, 27 Jul 2009 07:54:01 +0000 (10:54 +0300)]
freetype: use fontconfig to get default font if available
With fontconfig freetype-font is font-family to use, not fontfile.
This should solve issue on linux-side where there aren't any one
place and one file thats usually there.
I'm not that familiar with freetype/fontconfig stuff, so this one could
be way wrong. So feel free to mention/fix/revert this if you spot
something odd.
variables: add a Get and Set function. This function can be only used (for the
moment) to toggle a boolean with the variable lock taken (which is not the case
when doing a var_SetBool(!var_GetBool)).
This function is also two times faster (only one lookup).