OSDN Git Service
sr55 [Fri, 9 Apr 2010 19:56:18 +0000 (19:56 +0000)]
WinGui:
- Clean up a switch statement that wasn't needed
git-svn-id: svn://localhost/HandBrake/trunk@3215
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 9 Apr 2010 19:52:09 +0000 (19:52 +0000)]
WinGui:
- Refactor the code to work out the slider value from the video quality. This fixes a bug when loading presets with ffmpeg and makes the code far easier to understand.
git-svn-id: svn://localhost/HandBrake/trunk@3214
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 9 Apr 2010 18:41:21 +0000 (18:41 +0000)]
LinGui: forgot to keep the activity logs distinct for multiple instances
git-svn-id: svn://localhost/HandBrake/trunk@3213
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 9 Apr 2010 18:17:51 +0000 (18:17 +0000)]
LinGui: allow multiple instances of the gui to run
Each instance has a queue named "queue.<pid>". On startup, the gui
opens and locks with lockf a file "ghb.pid.<pid>". Then it searches
for any other ghb.pid.<pid> files that exist that are not locked. If
it finds one, then some instance of ghb exited and may have left behind
a queue. Try to reload it. If there are no items in the queue, continue
looking for unlocked ghb.pid.<pid> files.
git-svn-id: svn://localhost/HandBrake/trunk@3212
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 9 Apr 2010 14:56:48 +0000 (14:56 +0000)]
MacGui: Remove another queue incrementing log message.
git-svn-id: svn://localhost/HandBrake/trunk@3211
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 9 Apr 2010 14:47:47 +0000 (14:47 +0000)]
MacGui: Remove more unneeded activity log messages and clean up some commented out code.
git-svn-id: svn://localhost/HandBrake/trunk@3210
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 9 Apr 2010 14:33:44 +0000 (14:33 +0000)]
MacGui: Remove a bunch of verbose activity log messages for Point to Point encoding.
git-svn-id: svn://localhost/HandBrake/trunk@3209
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Thu, 8 Apr 2010 21:04:38 +0000 (21:04 +0000)]
MacGui: Enable mp3 audio tracks in mp4.
- NOTE: Currently not supported by any native apple software including QuickTime even with Perian enabled (obviously applies to iPhone/iPod iPad afaik or really anything).
- Is supported by VLC and MPlayer on Mac.
git-svn-id: svn://localhost/HandBrake/trunk@3208
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 8 Apr 2010 20:43:49 +0000 (20:43 +0000)]
CLI: add single title scan support
git-svn-id: svn://localhost/HandBrake/trunk@3207
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 8 Apr 2010 20:34:38 +0000 (20:34 +0000)]
WinGui:
- MP3 in MP4 files is now enabled.
git-svn-id: svn://localhost/HandBrake/trunk@3206
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 7 Apr 2010 15:06:03 +0000 (15:06 +0000)]
fix audio clipping when downmixing and output codec is lame
The lame codec has a more limited input range than the other codecs. So
tell the downmixers to stay strictly within the level range requested.
also changes some tabs into spaces in deca52 and decdca
git-svn-id: svn://localhost/HandBrake/trunk@3205
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Wed, 7 Apr 2010 14:54:34 +0000 (14:54 +0000)]
x264 bump from r1510 to r1523
- Various bugfixes and enhancements.
git-svn-id: svn://localhost/HandBrake/trunk@3204
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 6 Apr 2010 23:22:30 +0000 (23:22 +0000)]
LinGui: fix crash when subtitle list has an invalid subtitle
git-svn-id: svn://localhost/HandBrake/trunk@3203
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 6 Apr 2010 15:45:40 +0000 (15:45 +0000)]
MacGui: Fix issue when selecting a preset with multiple audio tracks (ie. AppleTV preset) any track after the first track used the first source track which would cause track mismatches. Now if the first track is set to use source track 3 for instance, the seond track will use source track 3 as well.
- Fixes issue where the AppleTv Preset would use a different source track for its AC3 track than the first aac track on some multiple track sources.
- Addresses the bug explained here http://forum.handbrake.fr/viewtopic.php?f=12&t=15854
git-svn-id: svn://localhost/HandBrake/trunk@3202
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 5 Apr 2010 18:50:29 +0000 (18:50 +0000)]
generalize audio channel map reordering
this allows remapping any channel order to any other channel order
with the appropriate map definitions. channel maps currently supplied
are smpte (used by ffmpeg), qt (our standard channel order), and ac3 (as
delivered by a52dec).
remapping can also be applied to the downmixer with the function
hb_downmix_set_chan_map(hb_chan_map_t * map_in, hb_chan_map_t * map_out).
this allows downmixing and channel reordering in a single step. there
is no additional cost to reordering since the matrix multiply used to
do the downmix simultaneously reorders.
git-svn-id: svn://localhost/HandBrake/trunk@3201
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 5 Apr 2010 16:52:19 +0000 (16:52 +0000)]
small error in the last change. Missed a comman in the libhb build script change.
git-svn-id: svn://localhost/HandBrake/trunk@3200
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 5 Apr 2010 16:35:25 +0000 (16:35 +0000)]
libgcc is no longer needed. Thanks to golgol7777 for pointing out the necessary changes in the build system
git-svn-id: svn://localhost/HandBrake/trunk@3199
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 5 Apr 2010 16:27:30 +0000 (16:27 +0000)]
WinGui:
- Remove check for libgcc_s_sjlj-1.dll since it is no longer required.
git-svn-id: svn://localhost/HandBrake/trunk@3198
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 3 Apr 2010 21:14:43 +0000 (21:14 +0000)]
fix silence insertion problem in audio sync and pipeline stall problem
the current audio buffer was being dropped when silence was inserted, causing
the time to fall even further behind and provoke more silence insertion
in some cases.
with pont-to-point, it is possible for one stream to complete before the
other(s). when the work_loop exits for that stream, the fifo is no longer
serviced and may fill. This can back up and cause a stall in reader
causing the streams that are not yet complete to stall. The Solution is
to continue servicing the fifo after work for a stream is complete. This was
complicated by the fact that the video sync work object was being used as the
indicator that all work was finished. When it exited everything was told
to stop. So now, the muxer work object (last in the chain) is the
indicator when work is done.
git-svn-id: svn://localhost/HandBrake/trunk@3197
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 3 Apr 2010 01:47:43 +0000 (01:47 +0000)]
fix stupid error in my last commit
double hb_buffer_close caused crash
git-svn-id: svn://localhost/HandBrake/trunk@3196
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 2 Apr 2010 23:58:24 +0000 (23:58 +0000)]
fix audio detection problem during scan of ffmpeg audio sources
audio frames can be larger than their container packet sizes, but during
scan, we only feed one container packet to the decoder, then reset
the decoder and try the next packet. so the audio is never detected.
as buffers are tested, they are added to a cache. the entire cache is
passed to the decoder to scan for info. the cache is limited to 4KB.
git-svn-id: svn://localhost/HandBrake/trunk@3195
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 2 Apr 2010 21:02:57 +0000 (21:02 +0000)]
WinGui:
- Added a new NightlyBuild Build Configuration.
- Updated "Install" target so you now only need to provide HandBrakeCLI.exe and it's dll.
git-svn-id: svn://localhost/HandBrake/trunk@3194
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 2 Apr 2010 20:44:09 +0000 (20:44 +0000)]
WinGui:
- Fix a small error in the build config. Don't run makensis for non install configs
git-svn-id: svn://localhost/HandBrake/trunk@3193
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 2 Apr 2010 20:34:25 +0000 (20:34 +0000)]
WinGui:
- Add a new build target called "Install". If you have NSIS installed and it's in your path, you can now use the "Install" target to automatically build the HandBrake Installer for the Windows GUI.
HandBrakeCLI.exe, libgcc_s_sjlj-1.dll, "doc" folder, and handbrakepineapple.ico must all be copied into the "bin/install" folder for this to work.
git-svn-id: svn://localhost/HandBrake/trunk@3192
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 2 Apr 2010 19:43:46 +0000 (19:43 +0000)]
WinGui:
- Put in some checks on ui launch to make sure the cli and it's dll are present.
git-svn-id: svn://localhost/HandBrake/trunk@3191
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 2 Apr 2010 19:26:04 +0000 (19:26 +0000)]
WinGui:
- Updated AssemblyInfo.cs
- Added Subme 10 to x264 panel
git-svn-id: svn://localhost/HandBrake/trunk@3190
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 2 Apr 2010 19:12:41 +0000 (19:12 +0000)]
MacGui: Add subme 10 to the subpixel motion estimation widget in the advanced panel.
git-svn-id: svn://localhost/HandBrake/trunk@3189
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 2 Apr 2010 18:30:19 +0000 (18:30 +0000)]
MacGui: Remove a bunch of useless comments from the point a to b code.
git-svn-id: svn://localhost/HandBrake/trunk@3188
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 2 Apr 2010 18:16:12 +0000 (18:16 +0000)]
handle YUV422P video in the mpeg2 decoder
if the image format is 422, convert it to 420
git-svn-id: svn://localhost/HandBrake/trunk@3187
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 2 Apr 2010 17:12:13 +0000 (17:12 +0000)]
flush frames x264 has cached properly
waiting until the returned size is == 0 isn't adequate.
you must use the function x264_encoder_delayed_frames
encoding very short clips resulted in invalid unplayable files.
git-svn-id: svn://localhost/HandBrake/trunk@3186
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 2 Apr 2010 16:34:45 +0000 (16:34 +0000)]
when in cfr mode, tell x264 we are doing cfr and allow x264 to set the timebase to the framerate.
fixes compatibility issue with tsMuxer which many PS3 users use.
now they can select a specific framerate, which will output cfr video
that tsMuxer can grok. we should have been doing this anyway.
git-svn-id: svn://localhost/HandBrake/trunk@3185
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 2 Apr 2010 15:50:35 +0000 (15:50 +0000)]
MacGui: Remove the AC3 and DCA audio input codec limitations for selecting mono or more importantly 6 channel discrete as per svn rev 3182.
git-svn-id: svn://localhost/HandBrake/trunk@3184
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 2 Apr 2010 15:17:04 +0000 (15:17 +0000)]
WinGui:
- Fix an issue with the Chapters tab where it wouldn't always enable the tab when the source had chapters
git-svn-id: svn://localhost/HandBrake/trunk@3183
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 2 Apr 2010 15:10:48 +0000 (15:10 +0000)]
downmix support for ffmpeg audio sources
now we can eat our own dogfood. i.e. aac 6ch discrete input now works,
along with any other multi-channel audio ffmpeg can toss at us.
git-svn-id: svn://localhost/HandBrake/trunk@3182
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 1 Apr 2010 22:14:08 +0000 (22:14 +0000)]
fix a problem processing PS stream that look a lot like DVD PS but are not.
these streams have start codes that all align on 2048 byte boundaries
which makes them look like DVD PS. But within the 2048 bytes, they have
multiple pack headers which we were tripping on.
git-svn-id: svn://localhost/HandBrake/trunk@3181
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Wed, 31 Mar 2010 15:13:17 +0000 (15:13 +0000)]
libhb: change the x264 header NAL array order from sei - sps - pps to sps - pps - sei as per x265 r1510
- Thanks golgol7777 for the patch!
git-svn-id: svn://localhost/HandBrake/trunk@3180
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 30 Mar 2010 15:30:11 +0000 (15:30 +0000)]
x264 bump from r1471 to r1510 (current git head)
git-svn-id: svn://localhost/HandBrake/trunk@3179
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 28 Mar 2010 16:58:47 +0000 (16:58 +0000)]
give s55 a helping hand with createing mingw CLI zip
git-svn-id: svn://localhost/HandBrake/trunk@3178
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 28 Mar 2010 15:29:22 +0000 (15:29 +0000)]
Build system now creates cli stage area for mingw
git-svn-id: svn://localhost/HandBrake/trunk@3177
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 28 Mar 2010 14:39:50 +0000 (14:39 +0000)]
MinGW:
- Initial checkin of some files for making CLI zip packages. This isn't functional yet but hopefully will be later. Also having to checkin a required dll which will be copied into the package.
git-svn-id: svn://localhost/HandBrake/trunk@3176
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 27 Mar 2010 21:21:29 +0000 (21:21 +0000)]
handle bluray LPCM streams
bluray lpcm uses an stype that is normally used for digicipher. so we use
the registration descriptor == HDMV in the PMT to recognize bluray streams.
also, ffmpeg doesn't provide a parser for this audio type because none
is needed. so when the parser is NULL, pass our buffer data directly to
the decoder.
Since ffmpeg is doing the decoding, we will still suffer from the same problem
with multi-channel ffmpeg streams. So this currenlty only works properly
with stereo.
git-svn-id: svn://localhost/HandBrake/trunk@3175
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 27 Mar 2010 16:08:37 +0000 (16:08 +0000)]
WinGui:
- Audio Panel will now remove all audio tracks from the audio list if the source has no tracks. When changing back to a source / title that has audio tracks, it will re-add audio tracks that are setup in the selected preset. If no preset is selected it will not re add any tracks.
- Fix duplicate preset created when importing macgui preset.
- Fix CQ/Filesize/AvgBitrate settings not being set correctly with macgui preset import.
git-svn-id: svn://localhost/HandBrake/trunk@3174
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 27 Mar 2010 00:12:58 +0000 (00:12 +0000)]
fix sporadic incorrect bitrate calculation of muxed tracks
git-svn-id: svn://localhost/HandBrake/trunk@3173
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 26 Mar 2010 18:59:47 +0000 (18:59 +0000)]
MacGui: Fix crash where a source with no audio crashes the macgui.
- If no source audio is found, set track 1 to None and disable controls.
git-svn-id: svn://localhost/HandBrake/trunk@3172
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 26 Mar 2010 15:03:11 +0000 (15:03 +0000)]
MacGui: Add call to hb_global_close() upon application termination as per changes in rev 3170
- Also added a missing call to hb_close for the live preview encoding instance
git-svn-id: svn://localhost/HandBrake/trunk@3171
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 26 Mar 2010 14:54:05 +0000 (14:54 +0000)]
make it possible to dynamically create and close multiple libhb instances
tweaks to make libhb more usable from a C# app
remove pointers from preview filenames, replaces with hb instance and title id's
removes only previews upon hb_close, leaves temp dir for hb_global_close
git-svn-id: svn://localhost/HandBrake/trunk@3170
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 19 Mar 2010 17:20:17 +0000 (17:20 +0000)]
reduce mux interleave threshold more to prevent out of memory situations
when skewed timestamps or premature end of a stream is encountered, the muxer
buffers streams in an attempt to interleave stream timestamps. this
threshold tells it when to give up. The previous value still allowed
out of memory conditions with windows 2GB per application limit.
git-svn-id: svn://localhost/HandBrake/trunk@3169
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 14 Mar 2010 18:21:40 +0000 (18:21 +0000)]
LinGui: use a more portable, elegant way of redirecting stderr to pipe
Thanks to scsi guy for the patch.
git-svn-id: svn://localhost/HandBrake/trunk@3168
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 14 Mar 2010 01:15:31 +0000 (01:15 +0000)]
improve lame audio quality by using ABR mode and disabling joint stereo mode
add mp3 muxing into mp4 container. cli and gtk gui now support this.
git-svn-id: svn://localhost/HandBrake/trunk@3167
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 14 Mar 2010 01:04:38 +0000 (01:04 +0000)]
LinGui: fix crash when necessary gstreamer plugin is not installed
git-svn-id: svn://localhost/HandBrake/trunk@3166
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 13 Mar 2010 17:15:20 +0000 (17:15 +0000)]
extend search range for TS re-sync
we were only checking approx the next 16K bytes when sync was lost in
a transport stream. now we will continues searching to the end of the file.
git-svn-id: svn://localhost/HandBrake/trunk@3165
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 12 Mar 2010 22:00:43 +0000 (22:00 +0000)]
WinGui:
- Missing comment
git-svn-id: svn://localhost/HandBrake/trunk@3164
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 12 Mar 2010 21:59:52 +0000 (21:59 +0000)]
WinGui:
Two new options for autocrop.
- Remove Underscores from source name.
- Change to Title Case. (e.g "Source Name")
git-svn-id: svn://localhost/HandBrake/trunk@3163
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 12 Mar 2010 21:24:42 +0000 (21:24 +0000)]
WinGui:
The Source button dropdown menu can now display multiple ready DVD drives. Previously only the first ready drive would be displayed.
git-svn-id: svn://localhost/HandBrake/trunk@3162
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 11 Mar 2010 22:54:32 +0000 (22:54 +0000)]
LinGui: fix an issue with hud widget sytle overrides
The overrides are based on widget name, and the names are no longer
being set by GtkBuilder. So I have to set them myself.
git-svn-id: svn://localhost/HandBrake/trunk@3161
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 11 Mar 2010 19:18:19 +0000 (19:18 +0000)]
WinGui:
- Fix the DVD Drive Option on the source menu.
git-svn-id: svn://localhost/HandBrake/trunk@3160
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 11 Mar 2010 18:33:57 +0000 (18:33 +0000)]
disable asserts in libdvdnav except when configured with --debug=max
dvdnav asserts on things are are almost never fatal. so lets not
crash on them.
git-svn-id: svn://localhost/HandBrake/trunk@3159
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 10 Mar 2010 21:40:03 +0000 (21:40 +0000)]
LinGui: add 'orientation vertical' property to GtkVBox
Works around a bug in the Glade-3 ui layout tool. It shows VBoxs
as if they were HBoxs if this property is not set. libgtk has no such issue.
git-svn-id: svn://localhost/HandBrake/trunk@3158
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 10 Mar 2010 21:11:07 +0000 (21:11 +0000)]
WinGui:
- Revert extra added -x and hopefully fix the cause of it being autogend
git-svn-id: svn://localhost/HandBrake/trunk@3157
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Wed, 10 Mar 2010 21:09:05 +0000 (21:09 +0000)]
WinGui:
- Don't reset mixdown to mono on source scan.
git-svn-id: svn://localhost/HandBrake/trunk@3156
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 9 Mar 2010 14:58:02 +0000 (14:58 +0000)]
MacGui: Fix pending encodes left in queue at quit warning that was borked in 3154.
- applicationShouldTerminate was trying to call a method that was removed in that revision which then aborted the rest of the shutdown logic.
git-svn-id: svn://localhost/HandBrake/trunk@3155
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 7 Mar 2010 16:24:06 +0000 (16:24 +0000)]
fix a crash that happens when subtitle scan selects a subtitle that
is alread in the list of subtitles to encode.
git-svn-id: svn://localhost/HandBrake/trunk@3154
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 5 Mar 2010 22:44:14 +0000 (22:44 +0000)]
x264 bump from r1442-
781d300 to r1471-
1144615
git-svn-id: svn://localhost/HandBrake/trunk@3153
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 5 Mar 2010 22:40:29 +0000 (22:40 +0000)]
MacGui: Fix issue where closing the main window, then clicking on the dock icon did not make the main window reappear.
- Note: this does not fix the issue in snow leopard where minimizing the main window behind the dock icon does not reappear when dock icon is clicked.
git-svn-id: svn://localhost/HandBrake/trunk@3152
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 5 Mar 2010 22:37:48 +0000 (22:37 +0000)]
MacGui: More Preview Window changes.
- Refactor more code and reduce calls to setViewSize even more.
- Correctly show the gray storage size - display size area in both windowed and scale to screen.
- Restore 85% max windowed size which was changed in 3124 (unless in scale to screen mode).
- Correct Live Preview movie size when in scale to screen.
- Depending on window resizing and screen constraints repositioning of window after resize is a bit wonky.
- Known issue with live preview, when the movie is the full size of the window, the controller bar does not show during live preview playback, however the movies plays fine. Needs to rescale to allow for the 15 px increase in height for controller bar or better yet, implement hud movie controls.
git-svn-id: svn://localhost/HandBrake/trunk@3151
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 5 Mar 2010 22:27:53 +0000 (22:27 +0000)]
temporary hack to use old x264 b-pyramid default of 0 (none)
this will be reverted when the gui's and presets are updated to
reflect the new default of 2 (normal).
git-svn-id: svn://localhost/HandBrake/trunk@3150
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 5 Mar 2010 21:18:03 +0000 (21:18 +0000)]
WinGui:
- Attempt to stop the autogen code from adding extra -x to the x264 query.
git-svn-id: svn://localhost/HandBrake/trunk@3149
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 5 Mar 2010 20:02:06 +0000 (20:02 +0000)]
WinGui:
- Remove Processors options from the CLI tab since it's not really serving any purpose.
git-svn-id: svn://localhost/HandBrake/trunk@3148
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 4 Mar 2010 18:28:18 +0000 (18:28 +0000)]
WinGui:
- Fix 2 labels which were the wrong way around.
git-svn-id: svn://localhost/HandBrake/trunk@3147
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 27 Feb 2010 23:27:44 +0000 (23:27 +0000)]
WinGui:
- One more missing file checked in.
git-svn-id: svn://localhost/HandBrake/trunk@3146
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 27 Feb 2010 22:20:14 +0000 (22:20 +0000)]
WinGui:
- Checkin some missing files.
git-svn-id: svn://localhost/HandBrake/trunk@3145
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 27 Feb 2010 18:19:28 +0000 (18:19 +0000)]
WinGui:
- Moved the Activity Log Code out of the Activity window into the Encode and Scan services. They now provide the log data. (Some duplicate code here will need to be refactored into a base class later)
git-svn-id: svn://localhost/HandBrake/trunk@3144
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 26 Feb 2010 22:52:15 +0000 (22:52 +0000)]
WinGui:
- Another -x appended when it shouldn't be.
git-svn-id: svn://localhost/HandBrake/trunk@3143
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 26 Feb 2010 22:51:05 +0000 (22:51 +0000)]
WinGui:
- Fixed a small x264 panel desiger issue where it would append multiple -x to the query
git-svn-id: svn://localhost/HandBrake/trunk@3142
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 26 Feb 2010 22:49:18 +0000 (22:49 +0000)]
WinGui:
- Fixed some issues with the DirectRun() Code and implemented some standard input / error readers received events / handlers
- Moved some code around. EncodeQueue is now a services layer
git-svn-id: svn://localhost/HandBrake/trunk@3141
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 26 Feb 2010 22:39:19 +0000 (22:39 +0000)]
WinGui:
- Few StyleCop warnings cleared up.
git-svn-id: svn://localhost/HandBrake/trunk@3140
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Thu, 25 Feb 2010 20:45:44 +0000 (20:45 +0000)]
WinGui:
- Make the picture settings panel work more like the macgui.
No longer uses -X Max Width but instead does all the logic in-gui so it's less confusing to the user.
git-svn-id: svn://localhost/HandBrake/trunk@3139
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Tue, 23 Feb 2010 18:07:07 +0000 (18:07 +0000)]
MacGui: Audio fixes regarding CoreAudio as default.
- Base Patch by Rodeo, thanks Rodeo!
-- Puts CoreAudo at index 0 in the encoder popup to assure it is selected by default if no preset is applied.
-- Fixes issue where going to AC3 or DTS Passthru then back to aac chose faac even if the old "Use CoreAudo instead of FAAC" pref was in effect.
-- Removes some legacy AVI/OGM Code.
- Additional features added after Base Patch:
-- "Use CoreAudio instead of FAAC" preference is now only applied to the built in presets
--- This change means that a custom preset specifying faac is now respected instead of it being overridden by the previously global preference.
--- Xib description changed accordingly
--- Note this means that previous custom presets that used faac will now use it instead of coreaudio.
git-svn-id: svn://localhost/HandBrake/trunk@3138
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 23 Feb 2010 17:14:27 +0000 (17:14 +0000)]
LinGui: let's try fixing hud expose rendering again
the last try showed widgets on the hud that should have stayed hidden
git-svn-id: svn://localhost/HandBrake/trunk@3137
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 23 Feb 2010 16:53:48 +0000 (16:53 +0000)]
LinGui: fix hud expose event rendering
another "change" in gtk causes "hidden" widgets to be rendered with
reduced opacity instead of zero opacity. So check the visibility of
the widgets manually and skip the hidden ones.
git-svn-id: svn://localhost/HandBrake/trunk@3136
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 23 Feb 2010 00:06:22 +0000 (00:06 +0000)]
LinGui: fix a bunch of brokenness on Ubuntu 10.04 (lucid)
gtk 2.19 has changed how object id's are stored by gtkbuilder.
The widget name is no longer assigned to the builder object id. Instead
the id is stored in a special property. Getting incorrect object id's
caused all settings values to be referenced incorrectly.
git-svn-id: svn://localhost/HandBrake/trunk@3135
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 22 Feb 2010 21:23:28 +0000 (21:23 +0000)]
WinGui:
- Some more cleanup
git-svn-id: svn://localhost/HandBrake/trunk@3134
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 22 Feb 2010 16:28:07 +0000 (16:28 +0000)]
LinGui: fix stupid preset import bug
after importing, save it to the preset file instead of just holding it
in memory
git-svn-id: svn://localhost/HandBrake/trunk@3133
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 21 Feb 2010 19:15:11 +0000 (19:15 +0000)]
WinGui:
- Few more stylecop warnings fixed + settings tweak
git-svn-id: svn://localhost/HandBrake/trunk@3132
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 20 Feb 2010 22:30:12 +0000 (22:30 +0000)]
WinGui:
- Cleanup more StyleCop warnings.
git-svn-id: svn://localhost/HandBrake/trunk@3131
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 20 Feb 2010 21:59:23 +0000 (21:59 +0000)]
WinGui:
- Some tweaks to the StyleCop Settings File.
- Some abbreviations added to the ReSharper config file.
- Some more warnings cleaned up.
git-svn-id: svn://localhost/HandBrake/trunk@3130
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 20 Feb 2010 18:08:41 +0000 (18:08 +0000)]
WinGui:
- Tied Microsoft StyleCop into the build process.
- Included a settings file for StyleCop so anyone who picks up the project can use the global project settings.
- Started Clearing up Warnings generated by stylecop.
- Also included Resharper 5 config files that users can use.
git-svn-id: svn://localhost/HandBrake/trunk@3129
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Sat, 20 Feb 2010 15:51:17 +0000 (15:51 +0000)]
MacGui: In preview only set the origin of the hud control panel for the preview window when setting the title, after that the origin will animate much smoother along with the window.
- Avoids the nasty resetting of the hud controller when the preview window resizes.
git-svn-id: svn://localhost/HandBrake/trunk@3128
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 19 Feb 2010 20:57:25 +0000 (20:57 +0000)]
WinGui:
- Some in progress re-factoring.
- Enable Modulus for none/loose picture setting modes.
git-svn-id: svn://localhost/HandBrake/trunk@3127
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 19 Feb 2010 20:35:18 +0000 (20:35 +0000)]
MacGui: Preview replace a method that was hastily removed in 3125 when removing Full Screen. Fixes broken window scaling.
git-svn-id: svn://localhost/HandBrake/trunk@3126
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 19 Feb 2010 19:53:52 +0000 (19:53 +0000)]
MacGui: Removie Full Screen preview mode as its largely redundant when we have 100 percent full screen scaling in windowed mode. Removes a lot of code that is really not needed.
git-svn-id: svn://localhost/HandBrake/trunk@3125
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 19 Feb 2010 17:56:35 +0000 (17:56 +0000)]
MacGui: Preview ... Allow the preview to use 100% of the the avaialable screen if it needs it.
- Removes the 85% hard cap.
git-svn-id: svn://localhost/HandBrake/trunk@3124
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Thu, 18 Feb 2010 19:12:21 +0000 (19:12 +0000)]
MacGui: A bit of pixel nudging in the Destination area of the main window ... patch from Rodeo
- Moved "Destination" a bit higher up, "File:" a bit to the left, and made "Browse" Small instead of Mini
git-svn-id: svn://localhost/HandBrake/trunk@3123
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Thu, 18 Feb 2010 16:49:45 +0000 (16:49 +0000)]
MacGui: Preview, use screens visibleFrame instead of frame to get better scale to screen effect and clear the dock, etc.
- Some other code additions to troubleshoot initial window scaling where there shouldn't be any.
git-svn-id: svn://localhost/HandBrake/trunk@3122
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Thu, 18 Feb 2010 00:16:47 +0000 (00:16 +0000)]
MacGui: Preview fixes and changes
- Better scaling for windowed mode
- Re postion hud control panel so top is at 50% window y axis
- Other small enhancements
git-svn-id: svn://localhost/HandBrake/trunk@3121
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Mon, 15 Feb 2010 17:14:46 +0000 (17:14 +0000)]
x264 bump from r1416-
fcf70c2 to r1442-
781d300
- Various optimizations and bugfixes.
- http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=
781d300ab73671bb2176ef2c3e6c0f2df425cee9
git-svn-id: svn://localhost/HandBrake/trunk@3120
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 12 Feb 2010 23:31:09 +0000 (23:31 +0000)]
fix incorrect comment in PS detection function
git-svn-id: svn://localhost/HandBrake/trunk@3119
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 12 Feb 2010 23:27:29 +0000 (23:27 +0000)]
try harder to identify program streams that do not begin with a pack header
search deeper into the file for a pack header followed by another start code
prefix. Fixes problem with file cut by StreamClip on non-pack header boundary
git-svn-id: svn://localhost/HandBrake/trunk@3118
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 12 Feb 2010 20:11:21 +0000 (20:11 +0000)]
MacGui: Fix issue where switching modulus would not properly recalibrate the exisiting pic size, only change the stepper increments.
- Bug found and fix tested by BradleyS.
- Do a dry run of hb_fix_aspect to reset dimensions as per the modulus before running through the rest of the settings.
git-svn-id: svn://localhost/HandBrake/trunk@3117
b64f7644-9d1e-0410-96f1-
a4d463321fa5
dynaflash [Fri, 12 Feb 2010 18:07:34 +0000 (18:07 +0000)]
MacGui: Fix package default name types broken when batch scanning was introduced.
- eg., .eyetv scans now produce a proper default output file name.
git-svn-id: svn://localhost/HandBrake/trunk@3116
b64f7644-9d1e-0410-96f1-
a4d463321fa5