| 48 | } |
| 49 | |
| 50 | bool DisplayMatrixTest::DoIndexing(std::string file_name) { |
| 51 | indexer = FFMS_CreateIndexer(file_name.c_str(), &E); |
| 52 | NULL_CHECK(indexer); |
| 53 | FFMS_TrackTypeIndexSettings(indexer, FFMS_TYPE_VIDEO, 1, 0); |
| 54 | |
| 55 | index = FFMS_DoIndexing2(indexer, 0, &E); |
| 56 | NULL_CHECK(index); |
| 57 | |
| 58 | video_track_idx = FFMS_GetFirstTrackOfType(index, FFMS_TYPE_VIDEO, &E); |
| 59 | EXPECT_GE(0, video_track_idx); |
| 60 | |
| 61 | video_source = FFMS_CreateVideoSource(file_name.c_str(), video_track_idx, index, 1, FFMS_SEEK_NORMAL, &E); |
| 62 | NULL_CHECK(video_source); |
| 63 | |
| 64 | VP = FFMS_GetVideoProperties(video_source); // Can't fail |
| 65 | |
| 66 | return true; |
| 67 | } |
| 68 | |
| 69 | TEST_F(DisplayMatrixTest, HFlip270) { |
| 70 | std::string FilePath = SamplesDir + "/qrvideo_hflip_90.mov"; |
nothing calls this directly
no test coverage detected