videodecoder: Rename gst_video_decoder_have_frame_2 function
authorJan Schmidt <thaytan@noraisin.net>
Tue, 19 Jun 2012 13:28:08 +0000 (23:28 +1000)
committerJan Schmidt <thaytan@noraisin.net>
Tue, 19 Jun 2012 15:32:05 +0000 (01:32 +1000)
commit2d770ac406fd9d905faedb32e7af81f188e174ab
treec76f09807138b42ba10bccb6ef9b0c7a3b9ccfaf
parentca09aaabc7f3eb6774a6fd4186bf32f445633f52
videodecoder: Rename gst_video_decoder_have_frame_2 function

Rename gst_video_decoder_have_frame_2 to
gst_video_decoder_decode_frame and pass the frame to process
directly, rather than using the current_frame pointer as a holding
pen.

Move the negative rate handling out of the function to where it
is needed, and remove the process flag.
gst-libs/gst/video/gstvideodecoder.c