On 2013-12-16 22:25:53 +0100, Anton Khirnov wrote: > Otherwise the generic code will unref them, which can then result in > last_picture_ptr == current_picture_ptr, which causes deadlocks at least > in rv40.
I'm undecided, I would say the better fix is to solve the deadlock in rv40 (or de-mpegenccontextilize rv34) but it looks raher pointless to allocate dummy frames just to unref them a little later. I can't remember if I ever knew why the dummyframes are needed but I guess avoiding checks whether the frames are available in every decoder could be a reason. ok if you believe this the best solution (ignoring the de-mpegenccontextilization). Janne _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
