gst1-libav fixes

@MikePetullo : please review theese 2 changes