Ticket #2148 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Changed 2 years ago by gpotts

  • owner changed from sbortman to gpotts
  • description modified (diff)

Changed 2 years ago by gpotts

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.