1
mirror of https://code.videolan.org/videolan/vlc synced 2024-08-10 19:05:07 +02:00
Commit Graph

6281 Commits

Author SHA1 Message Date
Christophe Massiot
bb137a2792 * 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.
2005-08-12 19:11:54 +00:00
Christophe Massiot
28e27d84bd * 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
2005-08-12 17:51:20 +00:00
Christophe Massiot
a9a9981ee7 * modules/control/http.c: Fixed vlc_set_var() and cosmetics. 2005-08-12 17:36:58 +00:00
Christophe Massiot
64461dad84 * 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).
2005-08-12 16:17:56 +00:00
Christophe Massiot
265e634c74 * 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.
2005-08-12 15:51:18 +00:00
Christophe Mutricy
23458725ce ALL: Improvements in the M3U output and parser. Patch by Daniel Stränger.
(Put both artist and name, protect comma with \ )
2005-08-12 14:20:06 +00:00
Jean-Paul Saman
d004be5c93 Fix volume callback 2005-08-11 21:03:20 +00:00
Jean-Paul Saman
001a4a94ac Don't explicitly flag the block. Clement could you check if fixes the break of local seeking from revision 12113. 2005-08-11 20:59:45 +00:00
Jean-Paul Saman
854dec19be 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}' 2005-08-11 20:13:01 +00:00
Jean-Paul Saman
cbd661c4af Fix \r\n issues for Windows compatibility 2005-08-11 19:23:31 +00:00
Christophe Massiot
733f0a84f7 * modules/control/http.c: New RPN function vlc_seek(value), same syntax
as the control=seek tag.
2005-08-11 17:48:24 +00:00
Christophe Massiot
43367c1ab1 * modules/control/http.c: foreach directory is now alpha-sorted in a
case-insensitive way. Fixed again str_replace().
2005-08-11 14:50:50 +00:00
Christophe Massiot
373a676fa0 * modules/control/http.c: Fixed bugs in str_replace(). 2005-08-11 14:11:20 +00:00
Christophe Massiot
fab9512e82 * modules/codec/ffmpeg: ffmpeg's av_log() messages now go to our messages
bank instead of being fprintf'd to stderr.
2005-08-11 13:39:43 +00:00
Christophe Massiot
728dd91aad * 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.
2005-08-11 12:31:16 +00:00
Jean-Paul Saman
284806797b Fix regression in timing behaviour. A minute jump is ~1 min again. 2005-08-10 23:16:20 +00:00
Jean-Paul Saman
26e6004689 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.
To stream use a commandline similar to this:

./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg --extraintf rc --sout '#transcode{sfilter=osdmenu}:std{mux=ts,access=udp,url=127.0.0.1:1234}' -vvvv

For local playback a commandline like this is needed:

./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg -vvvv

Have fun with the basic functionality - jpsaman.
2005-08-10 22:08:50 +00:00
Jean-Paul Saman
d8fc9f3b89 By default --packetizer-mpegvideo-sync-iframe is disabled. 2005-08-10 21:47:13 +00:00
Jean-Paul Saman
396d771330 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.) 2005-08-10 20:07:20 +00:00
Derk-Jan Hartman
a0db104db9 * Remove vlc:run (externrun is removed from SVN) and vlc:loop (we have --loop).
Playlist item commands are soooo dirty :D
2005-08-10 16:18:18 +00:00
Derk-Jan Hartman
d30d02fe83 * 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.
2005-08-10 14:12:17 +00:00
Christophe Mutricy
b04a604232 Add ACCESS_GET_META in the dummy access to avoid an error 2005-08-10 08:13:09 +00:00
Derk-Jan Hartman
0d78e9eba5 * Added playlist preparse item to the playlist contextual menu. 2005-08-10 02:18:03 +00:00
Jean-Paul Saman
5a896a3ea8 make positioning of subpictures posible in dvbsub 2005-08-09 21:18:22 +00:00
Derk-Jan Hartman
fafb8f9d74 * spelling 2005-08-09 19:44:25 +00:00
Jean-Paul Saman
705499c6fa Fix compiler warning about comparing signed and unsigned 2005-08-09 19:15:32 +00:00
Christophe Massiot
3a189811d8 * modules/control/http.c: New RPN functions: vlc_play, vlc_stop, vlc_pause,
vlc_next, vlc_previous, playlist_empty. Miscellaneous coding style fixes.
2005-08-09 17:35:13 +00:00
Felix Paul Kühne
33a9e33504 * 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)
2005-08-09 17:34:37 +00:00
Jean-Paul Saman
a73d65a89f Fix compiler warning about comparing signed unsigned. 2005-08-09 15:20:23 +00:00
Jean-Paul Saman
9aa09bba7a Made es_format_t member i_bitrate unsigned int, because I cannot imagine it ever to be negative. 2005-08-09 15:18:44 +00:00
Jean-Paul Saman
7b87020d14 Fix compiler warnings about comparing signed and unsigned 2005-08-09 14:43:04 +00:00
Jean-Paul Saman
0369c9f0ac 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. 2005-08-09 14:27:23 +00:00
Jean-Paul Saman
90a27edc16 Fix compiler warning about unused variables 2005-08-09 13:44:50 +00:00
Jean-Paul Saman
67429eaf7b Fix compiler warnings about signed - unsigned comparisons 2005-08-09 13:42:11 +00:00
Jean-Paul Saman
58f925c65a Fix compiler warnings about signed - unsigned comparisons 2005-08-09 13:40:18 +00:00
Jean-Paul Saman
578759d7ea Fix compiler warnings about signed - unsigned comparisons 2005-08-09 13:33:36 +00:00
Derk-Jan Hartman
4aed464ff3 * Use psz_shortname instead of object name in the Preferences tree of OS X prefs. 2005-08-09 13:28:11 +00:00
Derk-Jan Hartman
04a19873a0 * Fix object refcount
* Fix some cosmetics
2005-08-09 13:25:49 +00:00
Antoine Cellerier
85189500bd some more trailing spaces 2005-08-08 17:41:08 +00:00
Antoine Cellerier
148ab11fcc delete trailing spaces ... 2005-08-08 17:18:08 +00:00
Rémi Denis-Courmont
8fd842248c Fix memleak in error handling 2005-08-08 16:15:30 +00:00
Jean-Paul Saman
30ec47f86a Track RTP sequence numbers and mark the first MPEG2-TS packet with a transport error when a discontinuity occurs. 2005-08-08 12:25:42 +00:00
Jean-Paul Saman
32b36df2f3 Fix a segmentation fault introduced by the previous commit 2005-08-08 10:18:03 +00:00
Jean-Paul Saman
85078e25f6 Fix a segmentation fault introduced by the previous commit 2005-08-08 09:44:42 +00:00
Jean-Paul Saman
03e270d097 (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. 2005-08-08 09:16:09 +00:00
Felix Paul Kühne
ad730d0597 * whoops 2005-08-07 17:58:39 +00:00
Felix Paul Kühne
509ed54396 * 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
2005-08-07 17:54:45 +00:00
Olivier Teulière
836900c56f * wxwidgets/updatevlc.cpp: Resize the tree control when resizing the window 2005-08-07 11:46:25 +00:00
Felix Paul Kühne
99629fc247 * fix compile warnings 2005-08-07 11:07:49 +00:00
Olivier Teulière
e92bf3b72c * 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
2005-08-07 10:56:07 +00:00