Changeset 16077a4


Ignore:
Timestamp:
12/01/08 04:54:51 (7 years ago)
Author:
dynaflash <dynaflashtech@…>
Branches:
master
Children:
cb1fdf0
Parents:
c46e59c
Message:

MacGui: Fix the deblock filter for live previews.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1980 b64f7644-9d1e-0410-96f1-a4d463321fa5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • macosx/Controller.mm

    r9aeb66f r16077a4  
    28242824   
    28252825    /* Deblock  (uses pp7 default) */
    2826     if ([fPictureController deblock])
    2827     {
     2826    /* NOTE: even though there is a valid deblock setting of 0 for the filter, for
     2827     * the macgui's purposes a value of 0 actually means to not even use the filter
     2828     * current hb_filter_deblock.settings valid ranges are from 5 - 15
     2829     */
     2830    if ([fPictureController deblock] != 0)
     2831    {
     2832        NSString *deblockStringValue = [NSString stringWithFormat: @"%d",[fPictureController deblock]];
     2833        hb_filter_deblock.settings = (char *) [deblockStringValue UTF8String];
    28282834        hb_list_add( job->filters, &hb_filter_deblock );
    28292835    }
Note: See TracChangeset for help on using the changeset viewer.