fix frame memory alloc problem when encoder init (Hu, Yuan)
fix frame memory alloc problem when encoder init (Hu, Yuan)

rislim/gstreamer-media-SDK,ph0b/gstreamer-media-SDK,ishmael1985/gstreamer-media-SDK,rislim/gstreamer-media-SDK