* Errors during vdpau mpeg2 decoding
@ 2014-09-04 3:53 Ilia Mirkin
[not found] ` <CAKb7UvjMYmt1y+m_uek6vVjA3cHuPTRKKAEicvK3UgghCLOT0A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Ilia Mirkin @ 2014-09-04 3:53 UTC (permalink / raw)
To: Maarten Lankhorst; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Hi Maarten,
I'm seeing these prints, which feel like they're accompanied by bad frames:
0x7f7fcb29ab70 is not a real ref: -0.011 72712/72709 0% 35% 1.0% 0 0
This comes from
if (dec->refs[idx].vidbuf != refs[i]) {
debug_printf("%p is not a real ref\n", refs[i]);
// FIXME: Maybe do m2mf copy here if a application really
depends on it?
continue;
}
Can you explain what this means, and what the fixme is referring to?
-ilia
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Errors during vdpau mpeg2 decoding
[not found] ` <CAKb7UvjMYmt1y+m_uek6vVjA3cHuPTRKKAEicvK3UgghCLOT0A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2014-09-04 5:04 ` Maarten Lankhorst
0 siblings, 0 replies; 2+ messages in thread
From: Maarten Lankhorst @ 2014-09-04 5:04 UTC (permalink / raw)
To: Ilia Mirkin; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Hey,
On 04-09-14 05:53, Ilia Mirkin wrote:
> Hi Maarten,
>
> I'm seeing these prints, which feel like they're accompanied by bad frames:
>
> 0x7f7fcb29ab70 is not a real ref: -0.011 72712/72709 0% 35% 1.0% 0 0
>
> This comes from
>
> if (dec->refs[idx].vidbuf != refs[i]) {
> debug_printf("%p is not a real ref\n", refs[i]);
> // FIXME: Maybe do m2mf copy here if a application really
> depends on it?
> continue;
> }
>
> Can you explain what this means, and what the fixme is referring to?
I keep internal track of the reference frames that were decoded last. If vidbuf in the internal state is not equal to the ref here it means something else got decoded in that slot and we no longer have the intermediary frame used for decoding.
~Maarten
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-04 5:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-04 3:53 Errors during vdpau mpeg2 decoding Ilia Mirkin
[not found] ` <CAKb7UvjMYmt1y+m_uek6vVjA3cHuPTRKKAEicvK3UgghCLOT0A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-04 5:04 ` Maarten Lankhorst
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.