hlsdemux: Fix decrypting fragments
authorThomas Bluemel <tbluemel@control4.com>
Fri, 20 Jun 2014 14:20:55 +0000 (08:20 -0600)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 22 Jun 2014 12:21:35 +0000 (14:21 +0200)
commitb1fac8c781b8e4bab13da931116f25854b1b1494
tree9ec3238c8cd030756ad578fed0c95cc337c56d3b
parentae990435063bbb0f1fd2caf1726805e2d7086790
hlsdemux: Fix decrypting fragments

Only reset the decryption engine on the first buffer of a fragment,
not again for the second buffer.  This fixes corrupting the second
buffer of a fragment.

https://bugzilla.gnome.org/show_bug.cgi?id=731968
ext/hls/gsthlsdemux.c
ext/hls/gsthlsdemux.h