-
Notifications
You must be signed in to change notification settings - Fork 109
Create files to support NSMovie and NSMovieView #144
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
Merged
Merged
Changes from 126 commits
Commits
Show all changes
135 commits
Select commit
Hold shift + click to select a range
9664cd4
Code compiles, now working on getting configure.ac fixed
gcasa 31f0b8e
Update to be able to play content using NSMovie, add configure.ac cha…
gcasa 472550e
Add new subclass to encapsulate the libav code
gcasa dd2ab8f
Update configure, GNUmakefile, NSMovieView
gcasa 0b28f09
Add subclass
gcasa 0191af1
Update NSMovieView to instantiate GSMovieView subclass
gcasa 65f6ef3
Update memory management in the GSMovieView/NSMovieView classes
gcasa 924bf25
Update comments
gcasa 92d6782
Update comments
gcasa 5cdb5ff
NSMovieView documentation
gcasa cb9838b
Initial changes to get audio working, may not compile
gcasa 8ded625
Add initial changes for sound
gcasa 3ba1f14
Decode audio packets
gcasa bece0a9
Add code that plays sound from the video
gcasa 2cf7378
Slight improvements to sound handling
gcasa 0a8e508
Move sound to a thread to stop it from being unsteady
gcasa 8c595f4
Try to sync up audio output
gcasa 01a68ce
Remove 2.0 conventions from code, add volume setting, initialization …
gcasa bc2d382
Fix warnings, and make audio a little smoother
gcasa b123e82
Use GNUstep define for RELEASE
gcasa 672ff2a
Refactor NSMovieView to delegate certain methods to the subclass, in …
gcasa 410713a
Add a delay of 1000 frames before we start the player thread.
gcasa c8ffb3c
Add audio support
gcasa 5b3afb8
Rename Audio class, initialize it in the code if there is an audio st…
gcasa dd02d4f
Re-integrate audio
gcasa 61bd0c8
Add logging when sound stream is found
gcasa 4b9e6c3
Add other methods
gcasa a2e54de
Update actions, add implementation for some actions
gcasa ad69f77
Add proper declaration
gcasa 1150ab0
Add code to return list of supported video types
gcasa 8392360
Add audio buffer using NSData
gcasa 9a7ac68
Add pasteboard types, clean up NSMovie
gcasa f87e261
Add ring buffer class
gcasa 36b8414
Make sure swr_init is checked to see if it returns 0
gcasa fbf447a
Remove ring buffer
gcasa 4de05f2
Fix memory leak
gcasa 2f24c56
Whitespace cleanup
gcasa 725a127
Add thread_count and thread_type
gcasa 04414e9
Cleanup and add some missing methods
gcasa 2e5ec16
Remove uneeded retain calls
gcasa a047612
Get the size on the main thread instead of getting it from prepare...
gcasa c8d40f5
Minor cleanup
gcasa 708a2da
terminate the thread, cleanup
gcasa c775466
Add stream indexes to the object
gcasa 39d05ce
Implement gotoEnd, gotoBeginning, etc
gcasa 7243804
Improve methods, add debugging info
gcasa 67f8966
Fixing stop/start/goto methods
gcasa 60cf0fd
Add notification handler to shut down the threads
gcasa e467716
Add TextField so that status can be shown. This is a GS extension
gcasa cc24648
Add support for status field
gcasa dff017a
Skip any corrupt packets
gcasa 08c88d6
Add renderFrame: method
gcasa e339494
Add renderFrame: method
gcasa 03f591c
Separate concerns into different methods so that setup, loop, and clo…
gcasa 79ba3c7
Add logic to skip forward
gcasa 3f49929
Cleanup, and cache stream
gcasa c92347e
Initial changes for pause
gcasa cf8e6be
Add pause
gcasa 0e6caac
Separate out audio player and utilities, update GNUmakefile
gcasa aa13204
Pause sound and video when movie is paused
gcasa 61967d6
Optimize some of the code, change logging
gcasa e071451
Cleanup, refactor
gcasa ad634be
Streamline getting the movieRect so that it doesn't need to get the s…
gcasa c5c673a
Merge branch 'master' into NSMovie_reset_refactor
gcasa 0af894a
Simplify some code
gcasa 9f77476
Remove uneeded code for notifications, add status set/get methods
gcasa 5611748
Movie startVideo/stopVideo logic into start: & stop: respectively
gcasa ad3a2c6
Clean up code
gcasa ee3ef44
Update start/stop to start and stop the feed, since setMovie: does no…
gcasa 66ad36b
Merge branch 'master' of github.com:gnustep/libs-gui into NSMovie_branch
gcasa eb00005
Switch to using the audioclock as the master to smooth out playback
gcasa 138cd88
minor corrections to status field
gcasa 7238e95
Merge branch 'NSMovie_audioclock_branch' into NSMovie_branch
gcasa bf0a081
Add implementation of step methods
gcasa 1cafa63
Merge changes
gcasa 9b0cace
Update start: stop: methods for consistency
gcasa 7144fe2
Update logging
gcasa 4259949
Merge branch 'NSMovie_branch' of github.com:gnustep/libs-gui into NSM…
gcasa 6c88e75
Minor cleanup
gcasa 04d569f
Fix audio delay and skipping
gcasa a284592
Latest changes
gcasa 369e8a1
Make frame skipping logic less agressive
gcasa 4c27e55
cleanup whitespace and indent, finalize fixes
gcasa 9328a60
Minor changes to prevent messy NSLog output
gcasa ebfe509
Don't build NSMovie/NSMovieView unless we have both avcodec/ao
gcasa dfeef5e
Fix configure.ac and configure
gcasa 720d2b4
Add checks to see if video and audio components are available
gcasa 3c3a505
Update configure, NSMovieView
gcasa 8d6bda5
Merge branch 'master' of github.com:gnustep/libs-gui into NSMovie_branch
fc4fa54
Movie category smash to subclass file
gcasa de39322
Remove unneeded ifdef and include from NSMovieView
gcasa 9f3bc35
Update changelog
gcasa e2be4f4
Merge branch 'NSMovie_branch' of github.com:gnustep/libs-gui into NSM…
gcasa 5877693
Add keyed coding, incorporate advice by @fredkeifer
gcasa e1e7bad
Clean up fprintf calls, use NSLog/NSDebugLog as appropriate
gcasa fe6c261
Reuse audio buffer as suggested by @fredkeifer
gcasa fac27f8
Re-use audio buffer, clean up, minor fixes
gcasa 6aebbbf
Avoid potential memory issues
gcasa d0c0120
Update to add methods to stretch out the time of the audio sample in …
gcasa d939b62
Add better comments to both NSMovie/NSMovieView for documentation
gcasa 5441e1e
Add currentPosition extension to get how far we are into the movie
gcasa 22201c8
Add reset method
gcasa 17646bb
Fix issue with stop:
gcasa 5c41971
Update rate: it's between 0.0-1.0 per documentation
gcasa 9118528
Refactoring start/stop in GSAudioPlayer
gcasa beb08b8
Update stop/start methods
gcasa a419288
Do not set needsRestart
gcasa c67557d
Cleanup, remove rewind
gcasa 6533067
Use _flags instead of BOOL ivars
gcasa 6a3dd11
Code cleanup
gcasa 1217e56
Attempt at a fix for the start/stop issue
gcasa 2c8f118
Minor cleanup
gcasa ce77601
Fix issue with stop/start causing audio to rewind (confirmed fix).
gcasa 04a09db
Fix issue with stop/start causing audio to rewind (confirmed fix).
gcasa 7798ecb
improve gotoEnd:
gcasa ff48df0
Fix method stepBack:
gcasa 8c70550
Fix goForward:
gcasa 2dd68df
Fix goForward:, clean up commented out code
gcasa 02a258d
Attempt to show the frame we have seeked to in goForward:
gcasa f2701c6
Revert "Attempt to show the frame we have seeked to in goForward:"
gcasa 402001e
Add positionField
gcasa 3fcd319
Remove uneeded set/get for statusField
gcasa c97b0aa
Remove declarations for duplicate method
gcasa a5c00d5
Move NSLog -> NSDebugLog calls to reduce noise in the logs
gcasa 8f1edf4
Address issues flaged by @fredkiefer
gcasa 89f05cf
Merge branch 'master' into NSMovie_branch
gcasa 18562bc
Update Source/NSMovie.m
gcasa fc4559d
Update Headers/AppKit/NSMovieView.h
gcasa 5f0117f
Update Source/GSMovieView.m
gcasa 7f120ba
Update Source/NSMovie.m
gcasa daeabf0
Update Source/GSAVUtils.m
gcasa 012a27e
Fix issue with packet dealloc
gcasa cc865dc
Merge branch 'master' into NSMovie_branch
gcasa 9c580d5
Merge branch 'master' into NSMovie_branch
gcasa 97b10fe
Merge branch 'master' into NSMovie_branch
gcasa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.