Clément Stenac [Sat, 23 Dec 2006 11:53:20 +0000 (11:53 +0000)]
* Ensure garbage collector is called when disabling a video track (Closes:#935)
* Possible (not probable) fix for 934. Can't fix as building vlc on win32 is almost impossible
Clément Stenac [Fri, 22 Dec 2006 21:14:11 +0000 (21:14 +0000)]
Add facilities to report and enrich error messages.
The idea is that a given error should be reported only once to the user.
At the moment, for example, we can get:
- "no suitable access module" (printed by module_Need)
- "unable to create access" (printed by input/access)
- "unable to open stream" (printed by input/input)
- ...
The facilities provided here are:
* msg_StackSet( code, message ) : "throw" a new error
* msg_StackAdd( message ) : Append a message allowing to trace the message
* msg_StackMsg() : Retrieve the message
So, in the previous example, module_Need would msg_StackSet( code, "no
suitable access module"), then input/input would add "unable to create
access" and finally, input/input can print the "unable to open stream:
unable to create access: no suitable module" message.
The three functions are context-free, you don't need a vlc_object, so
that we can add verbose error reporting everywhere.
src/video_output/video_output.c: Fixed double free in filter removal
code
qt4/components/extended_panels.cpp: Improved some dagerous string
parsing code. This whole function looks very ad hoc to me at the
moment and should be rewritten in a more robust way. In particular
this function will misbehave if a video filter exists whose name is a
substring of another video filter. This change here just makes it less
likely to crash...
Felix Paul Kühne [Tue, 19 Dec 2006 17:34:26 +0000 (17:34 +0000)]
* gui behaviour change: the textfields are no longer disabled if another protocol is enabled through the knobs. the user can click the fields now to switch the protocol. I'm unsure whether this could and should be done in the disc tab as well. closes #914
* Make it possible to extract any color component from the video. (Red, Green and Blue are still hardcoded) Example: ./vlc ~/media/Muse-Concert.mpg --video-filter "extract{component=0xFFFF00}" will get you the yellow stuff.
* New color extraction video filter. Can be used to extract the Red, Green or Blue component from a video.
* Add stuff about motiondetect and extract in the News (even though motiondetect isn't finished)
Rewrite motion detect filter. It currently draws a white rectangle arround moving objects (on fixed backgrounds). I still need to add code to make it possible to trigger an action when movement is detected (i.e. a VLM command to start recording).
Derk-Jan Hartman [Wed, 13 Dec 2006 01:11:55 +0000 (01:11 +0000)]
* Add support for HD DVBsub closes #896
* Added some comments
* Set the b_pausable flage and remove the b_fade/b_stop flags from the dvbsubs.
They are ephemer and if you need these options set, then figure out another way.
Felix Paul Kühne [Tue, 12 Dec 2006 19:46:17 +0000 (19:46 +0000)]
* switched the middle arrow buttons from faster/slower to backward/forward to reflect the same functionality as the usual controller window, thus a more consistent GUI. Thanks to the6thReplicant from the forum for the hint.
Olivier Teulière [Mon, 11 Dec 2006 22:19:56 +0000 (22:19 +0000)]
* skins2/vars/equalizer.cpp: Fixed an invalid memory read, potential crasher
* skins2/src/generic_layout.cpp: Fixed an old memory leak
This is a forwardport of [18282]
Derk-Jan Hartman [Mon, 11 Dec 2006 16:25:29 +0000 (16:25 +0000)]
* Fix utf8_scandir (wasn't using vlc_closedir_wrapper)
* Add some doxygen comments to some of these functions that warn about vlc_closedir_wrapper and LocaleFree