* modules/access/http.c: Do not use vlc_UrlEncode for the same reason
than [12145]. We just want to replace spaces.
* include/network.h: Restored the previous behaviour of vlc_UrlEncode().
We really mean to URL-encode ? & / etc. in order to be able to pass
a string containing those special characters as a GET variable in the
http control interface.
Clément Stenac [Fri, 12 Aug 2005 21:49:28 +0000 (21:49 +0000)]
Remove gtk, gtk2, qt and kde plugins
If you want them, take them back from the svn attic, fix them and reintroduce them. I didn't remove the configure.ac snippets, they are still in but commented
* modules/control/http.c: Added an id="include" macro to include
another file. Also reduced MAX_DIR_PATH_LENGTH to 2560 since
allocating anything larger than 4kB on the stack is likely to break
on many OSes.
* modules/demux/livedotcom.cpp: Do not use vlc_UrlEncode(), but simply
replace spaces with '+'. That's what browsers do, and I think it's
the right thing to do since vlc_UrlEncode was just breaking things.
refs #90 and debian bug #279735
* modules/control/http.c: New foreach tags to walk through the input
variables : program, title, chapter, audio-es, video-es and spu-es.
New RPN function "value 'variable' vlc_set_var" to change the input
variables (variable can be any of those above).
* modules/stream_out/transcode.c: New --sout-transcode-max-width and
--sout-transcode-maxheight options, recommended to enforcea particular
level of a video codec. Fixed --sout-transcode-fps when used in
conjunction with --sout-transcode-threads=1.
* configure.ac: libavcodec.pc doesn't instruct us to link with mp3lame,
liba52, etc. so --with-ffmpeg-mp3lame and stuff should still be
useful in this case. The ffmpeg module needs to be built-in under OS X
otherwise it doesn't link.
Jean-Paul Saman [Thu, 11 Aug 2005 20:13:01 +0000 (20:13 +0000)]
Fix revision 12116 which broke other transcode options. The commandline for streaming the OSD menu has changed into a boolean option --sout-transcode-osd: ./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg --extraintf rc --sout '#transcode{osd}:std{url=127.0.0.1:1234,access=udp,mux=ts}'
* modules/control/http.c: Rewrote the parsers to handle correctly special
chars such as ', \', \ , etc. Fixed a bug when parsing the GET
arguments. Added new RPN functions :
- str_replace( a, b, c ) : replaces all occurences of b with c in a
- addslashes( s ) : escapes all " and ' with a backslash
- stripslashes( s ) : the opposite
- htmlspecialchars( s ) : replaces &"'<> with their &stuff; equivalent
- realpath( s ) : returns an absolute file path (see realpath(3))
And fixed a few memory leaks.
* include/network.h:vlc_UrlEncode() : though RFC 1738 allows to send
$-_.+!*'(), unencoded, it also allows to encode any character. It is
generally considered a good practive to urlencode $+!*'() because
some buggy browsers (read: M$) have a problem with those characters.
See the comments in http://fr.php.net/manual/en/function.rawurlencode.php
for more information.
Derk-Jan Hartman [Wed, 10 Aug 2005 22:31:12 +0000 (22:31 +0000)]
* Fixed VLC_IsPlaying (fixes #259)
Now uses the state variable instead of playlist_IsPlaying. The PLAYLIST_PAUSED state is no longer reliable since the introduction of the state variable for testing if playback is in a paused state. Perhaps we should remove this part of the playlist logic and keep it to RUNNING and STOPPED.
Jean-Paul Saman [Wed, 10 Aug 2005 22:08:50 +0000 (22:08 +0000)]
Forward port of branches/0.8.1-jpsaman-thedj revision 12070. The OSD menu subsystem consists of two parts a core part (src/osd, include/vlc_osd.h) and a subfilter (modules/video_filter/osdmenu.c). The OSD menu can be used locally or it can be streamed. It depends on the way the functionality is called from the vlc commandline. Currently there is only one way to make the subpictures appear on the video and that is through the rc-interface. The following commands are supported by it: "menu on" (show OSD menu), "menu off" (hide OSD menu), "menu left" (highlight button on the left), "menu right" (highlight button on the right), "menu up" (highlight button above), "menu down" (highlight button below) or "menu select" (perform hotkey action). When there is no button on the left, right, up or down then the menu-command will be ignored.
Jean-Paul Saman [Wed, 10 Aug 2005 20:07:20 +0000 (20:07 +0000)]
Flagging BLOCK_FLAG_DISCONTINUITY for every PID in the input when the slider is moved on the GUI or a jump in the stream is made. It is also propagated to the mpegvideo packetizer. The packetizer has a new mode to sync on I-frame boundary after such a jump. It avoids sending some broken frames to the client. (Forward port of branches/0.8.1-jpsaman-thedj revision 11067 and 11842.)
Derk-Jan Hartman [Wed, 10 Aug 2005 14:12:17 +0000 (14:12 +0000)]
* Don't use the bandlimited resampler for downsampling (skew resampling for instance). The resampler doesn't have a low pass filter? This closes #256
- on a side note, it also seems to fix the stack corruption (resulting in deadlock) issues i was having with audio output that was being resampled by auhal.
Add a test for pkg-config for ffmpeg. It now do in order: ffmpeg-config, pkg-config, default location, given tree. fixes #306.
To cross-compile on a debian, use PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig and --with-ffmpeg-config-path=somewhere with no ffmpeg-config (/usr/win32/bin by ex)
* playlist.m: fixed some "makes integer from pointer without a cast" warnings and moved "j" inside the #if 0 - block, so it isn't detected as "unused"
* wizard.m: run "resetWizard" when returning to the first page. Otherwise the encap-tab might not work properly (when switching from Streaming to Transcoding after having passed the streaming-method-tab)
Jean-Paul Saman [Tue, 9 Aug 2005 14:27:23 +0000 (14:27 +0000)]
Added new hotkeys (key-intf-hide, key-jump-3sec, key-jump+3sec, key-title-next, key-title-prev, key-chapter-next, key-chapter-prev) and expanded the hotkey structure. This is a forward port from branch vlc-0.8.1-jpsaman-thedj revision 11756.
Jean-Paul Saman [Mon, 8 Aug 2005 09:16:09 +0000 (09:16 +0000)]
(Forward port from branch 0.8.1-jpsaman-thedj) TS demux can now dump a TS stream directly to a file or special devices, this mode can be used with DSP's. Enhanced CSA encryption/decryption with a non standard mode to encrypt/decrypt a part of a TS packet. Further I replaced a bunch of // comments with /* .. */ comments style.
* ALL: ported the WX-bookmarks-window to Cocoa (closes #22)
- complete functionality except "Extract" (I'm going to fix that next week)
* MainMenu.nib: re-orded the window-menu a bit
* wizard.*: added a method to launch it from the bookmarks
* wxwidgets/menus.cpp: Added "Open Directory" in the wx popup menu
* skins2: Added dialogs.directory() and dialogs.streamingWizard() actions
* doc/skins/skins2-howto.xml: Updated the doc accordingly