Skip to content

Commit

Permalink
[editor/cache] Recycle buffers for HW accelerated decoding on cache f…
Browse files Browse the repository at this point in the history
…lush
  • Loading branch information
eumagga0x2a committed Apr 26, 2019
1 parent 88d79d2 commit bfc0a04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions avidemux/common/ADM_editor/src/utils/ADM_edCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ ADMImage *EditorCache::getFreeImage(void)
printf("[edCache] Flush\n");
for(int i=0;i<_nbImage;i++)
{
_elem[i].image->hwDecRefCount();
_elem[i].pts=ADM_NO_PTS;
}
writeIndex=readIndex=0;
Expand Down

0 comments on commit bfc0a04

Please sign in to comment.