- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Edit: Solved by using GetInfo() from the decoder.
I have a live stream that changes aspect ratio on-the-fly, I try to detect that with following the code but it don't work.
m_framer are an instance of Mpeg2FrameConstructor.
UMC::VideoStreamInfo* vinfo = (UMC::VideoStreamInfo*) m_framer.GetInfo()->m_pStreamInfo;
if (vinfo->videoInfo.m_iSAWidth != lastSAWidth) {
}
This is done for every frame from the framer.
Is this supposed to work or are there a better way?
Any help is appriciated
Thanks
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page