Skip to content

Commit

Permalink
* Fixing #144 Remove HDR not working (thanks to Chad Johnson)
Browse files Browse the repository at this point in the history
* Fixing thumbnail generation preview for videos with arib-std-b67 color transfer
  • Loading branch information
cdgriffith committed Dec 29, 2020
1 parent e6a145e commit ed41e85
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_windows_7.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build executables for Windows
name: Build executables for Windows 7 (legacy)
on:
push:
branches: [ master, develop, build ]
Expand Down
6 changes: 4 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

## Version 4.0.2

* Fixing #135 color information wasn't passed through correctly
* Fixing #143 by adding legacy windows builds with Python 3.8 for time being
* Fixing #144 Remove HDR not working (thanks to Chad Johnson)
* Fixing #135 color information wasn't passed through correctly (thanks to leonardyan)
* Fixing #143 by adding legacy windows builds with Python 3.8 for time being (thanks to odignal)
* Fixing queue breaks if there is an error during conversion
* Fixing Remove HDR doesn't stay selected when returning item from queue
* Fixing resolution doesn't stay after returning from queue
* Fixing thumbnail generation preview for videos with arib-std-b67 color transfer

## Version 4.0.1

Expand Down
6 changes: 5 additions & 1 deletion fastflix/widgets/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,11 @@ def generate_thumbnail(self):
):
settings["remove_hdr"] = True

filters = helpers.generate_filters(custom_filters="scale='min(320\\,iw):-8'", **settings)
custom_filters = "scale='min(320\\,iw):-8'"
if self.app.fastflix.current_video.color_transfer == "arib-std-b67":
custom_filters += ",select=eq(pict_type\\,I)"

filters = helpers.generate_filters(custom_filters=custom_filters, **settings)

preview_place = (
self.app.fastflix.current_video.duration // 10
Expand Down

0 comments on commit ed41e85

Please sign in to comment.