Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The big pull request of pending changes #1

Closed
wants to merge 10 commits into from
Closed

The big pull request of pending changes #1

wants to merge 10 commits into from

Conversation

pigoz
Copy link
Member

@pigoz pigoz commented Oct 15, 2012

So these are all the changes that I accumulated over time in my mplayer2 dev branch. I have been using some of this stuff for months now so it should be pretty stable 😄

Some things we probably want to implement higher level? (i.e.: power management in the VO is questionable but still better than nothing, it can also be changed later).

Is the syntax for the reformat commit ok? I like adding a \n after the assign's =, but does it blend with the current new code in other parts of mpv?

    s->window =
        [[GLMPlayerWindow alloc] initWithContentRect:window_rect
                                           styleMask:s->windowed_mask
                                             backing:NSBackingStoreBuffered
                                               defer:NO];

I opened this as a chance to get feedback, if and when I get the positive feedback I can take care of pushing to master.

pigoz added 10 commits October 15, 2012 23:00
Add a make task and python script to create a Mac OS X Application Bundle
to be used when compiling with the --enable-macosx-finder and
--enable-macosx-bundle configure flags.

Use with `make osxbundle` after running configure and make.
Video Decode Acceleration Framework is a framework by Apple to provide
GPU assisted H.264 decoding. It is available on Mac OS X v10.6.3 and
later with Mac models equipped with the NVIDIA GeForce 9400M, GeForce 320M,
GeForce GT 330M, ATI HD Radeon GFX, Intel HD Graphics and others.

This commit uses the new video decoder added in FFmpeg based upon this
framework.
Save the cocoa state in an instance variable for the Objective-C part of the
code and use a field in the vo struct for the raw C part of the code.
This allows to remove the call to the deprecated `UpdateSystemActivity`. The
additional benefit is power management is disabled only if the video is really
playing. A paused video will not stop the system from idling.
TickCount is depracted in OS X 10.8. Substitute it with a public Cocoa API
call available since OS X 10.6.
QuartzCore was probably forgot after extracting the code from `vo_corevideo`.
The OpenGL.h include can be avoided with no warnings/errors.
Use 80columns almost exclusively and reformat Objective-C messages declarations
to follow Apple's style (i.e.: - (int)name; instead of - (int) name;).
This commit hopefully makes it easier to follow the flow of the program.
This greatly simplifies the code and makes alt tab behave like it is supposed
to: it doesn't put the mplayer window behind the other ones when losing focus.

If you have other programs that are displaying themselves above the normal
window level, avoid them or use --ontop.
@pigoz pigoz closed this Nov 2, 2012
@aktau aktau mentioned this pull request Sep 23, 2013
jon-y added a commit to jon-y/mpv that referenced this pull request Oct 25, 2014
Go through with interface reset and setup if AUDCLNT_E_DEVICE_INVALIDATED
is encountered. Fix attempt mpv-player#1.

Signed-off-by: Jonathan Yong <10walls@gmail.com>
@b4 b4 mentioned this pull request Nov 2, 2014
@ghost ghost mentioned this pull request Feb 28, 2022
12 tasks
na-na-hi added a commit to na-na-hi/mpv that referenced this pull request Aug 18, 2024
There are too many issues created with problematic contents (like "mpv-player#1"
in uname output) that cause unwanted expansion to markdown formats
and links to issues. The information here should be fairly simple in
format that markdown isn't needed. Use plain text rendering instead.
na-na-hi added a commit to na-na-hi/mpv that referenced this pull request Aug 18, 2024
There are too many issues created with problematic contents (like "mpv-player#1"
in uname output) that cause unwanted expansion to markdown formats
and links to issues. The information here should be fairly simple in
format that markdown isn't needed. Use plain text rendering instead.
sfan5 pushed a commit that referenced this pull request Aug 19, 2024
There are too many issues created with problematic contents (like "#1"
in uname output) that cause unwanted expansion to markdown formats
and links to issues. The information here should be fairly simple in
format that markdown isn't needed. Use plain text rendering instead.
na-na-hi added a commit to na-na-hi/mpv that referenced this pull request Sep 28, 2024
There are too many issues created with problematic contents (like "mpv-player#1"
in uname output) that cause unwanted expansion to markdown formats
and links to issues. The information here should be fairly simple in
format that markdown isn't needed. Use plain text rendering instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant