- 15 Aug, 2015 6 commits
-
-
KO Myung-Hun authored
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
-
Rémi Denis-Courmont authored
-
Arjun Sreedharan authored
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
-
Rémi Denis-Courmont authored
strdup() is as (un)likely to fail as asprintf().
-
Rémi Denis-Courmont authored
Pointed-out-by: <hugh1234@mail.ustc.edu.cn>
-
Rémi Denis-Courmont authored
Also use size_t for the size.
-
- 13 Aug, 2015 8 commits
-
-
David Fuhrmann authored
In the previous implementation was so unsafe that the ARC compiler was not able work properly and printed a warning. While there was no real problem here, switch to blocks to silence the compiler and see potential errors earlier.
-
David Fuhrmann authored
-
David Fuhrmann authored
-
David Fuhrmann authored
-
Francois Cartegnie authored
-
Francois Cartegnie authored
-
Francois Cartegnie authored
-
Francois Cartegnie authored
removes temporary text_style_Reset() and finishes migrating decoders. We might want to deprecate text_style_New().
-
- 12 Aug, 2015 13 commits
-
-
Francois Cartegnie authored
use or don't use filter. -1 has no better meaning than 0 and 0 is for new text-style
-
Francois Cartegnie authored
-
Francois Cartegnie authored
Renderer should have final decision of the styles to apply. Rendered forced styles are applied over text-segments ones, then renderer defaults (text-style's ones). Also adds proportional font size. Fixes all style inheritance and font sizing hacks in region sys. Final fixed font size is only computed at update time, if not set to fixed size by decoder.
-
Francois Cartegnie authored
-
Francois Cartegnie authored
because you can't tell if members are have set value or are unset.
-
Francois Cartegnie authored
avoids reordering and display delay
-
Francois Cartegnie authored
-
Francois Cartegnie authored
caption data rate is 2 bytes per frame at 30 fps
-
Francois Cartegnie authored
-
David Fuhrmann authored
CFBridgingRelease was used in the wrong place. All view objects should only be retained by the window (and in this situation by the grid view dicts as well), thus they is no need to additionally retain them for the p_sys_intf pointer.
-
David Fuhrmann authored
Fixes a crash when quitting the interface during media playback.
-
David Fuhrmann authored
Also deinitalizes both objects. This should fix the refcount crash on exit.
-
David Fuhrmann authored
VLCIntf now points to a static getter for the interface thread pointer. This fixes several problems: During initialization of VLCMain, [VLCMain sharedInstance] is not ready yet when all other objects are initialized inside VLCMains constructor. Due to the way ARC works, the same applies to dealloc (the main shared instance is nil already). But in both situations, we need VLCIntf for callback (un)registration and potential logging. The mac interface relies on static data in any case and does not support multiple instantiations.
-
- 11 Aug, 2015 13 commits
-
-
David Fuhrmann authored
Only self should be used as callback parameters. Otherwise, depending on the destruction order the original object might be deinitialized already.
-
David Fuhrmann authored
The window controller ensures that all top-level objects of the mainwindow xib are properly released. This removes the last occurence of VLCMain in xib files, thus awakeFromNib will not be called for this object anymore. The code has been moved to initThis removes the last occurence of VLCMain in xib files, thus awakeFromNib will not be called for this object anymore. The code has been moved to init.
-
David Fuhrmann authored
This improves separation between main menu and the unrelated goto time window. Besides that, note that each time bindings are used with the file owner, this owner needs to be an NSWindowController class. Only in this case retain cycles are avoided (bindings have a strong reference to the object used). Thus, this commit helps to properly deinitialize the VLCMain object.
-
David Fuhrmann authored
By deinitializing VLCMain, all connected objects are supposed to be deallocated automatically. If [VLCMain sharedInstance] is gone, the intf is deinitalized (this was previously checked with a nil value of VLCIntf). Fixes some retain cycles in input manager and playlist code which prevented these objects to be deinitalized.
-
David Fuhrmann authored
-
Francois Cartegnie authored
-
David Fuhrmann authored
This should make it clearer what a l10n string and a IBOutlet is.
-
David Fuhrmann authored
Also fixes behaviour for eq profile list
-
David Fuhrmann authored
The former delegate approach had some drawbacks as one class could be only delegate for one panel. This commit replaces it with a completion handler block which moves the result handling code closer to the actual creation of the dialog. Also fixes crash for eq panels.
-
Francois Cartegnie authored
-
Francois Cartegnie authored
-
Francois Cartegnie authored
-
Francois Cartegnie authored
-