Ticket #2148 (closed defect: fixed)
Add next Klv to the java bindings for oms::Video
| Reported by: | gpotts | Owned by: | gpotts |
|---|---|---|---|
| Priority: | highest | Milestone: | OSSIM 2.0 |
| Component: | omar | Version: | OMAR 1.8.8 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by gpotts) (diff)
Add the following code from site to include nextKlv so klv data can be scanned from an input mpeg stream.
Video.h
bool oms::Video::nextKlv()
public:
ossimRefPtr<ossimPredatofVideo::KlvInfo?> the CurrentKlv?;
Video.cpp
bool oms::Video::nextKlv()
bool oms::Video::nextKlv() {
if(!the VideoInfo?->theSource.valid()) return false; theVideoInfo->theCurrentKlv = theVideoInfo->theSource->nextKlv(); return theVideoInfo->theCurrentKlv.valid();
}
Unit test
We will write a test application that can take a uav mpeg file and display each klv tables found in the input stream by iterating through with nextKlv.
Change History
Note: See
TracTickets for help on using
tickets.

