Home | History | Annotate | Download | only in filters

Lines Matching defs:glue_

43     glue_.reset(new FFmpegGlue(protocol_.get()));
44 CHECK(glue_->format_context());
45 CHECK(glue_->format_context()->pb);
49 // Ensure |glue_| and |protocol_| are still alive.
50 CHECK(glue_.get());
53 // |protocol_| should outlive |glue_|, so ensure it's destructed first.
54 glue_.reset();
58 return glue_->format_context()->pb->read_packet(
63 return glue_->format_context()->pb->seek(protocol_.get(), offset, whence);
67 scoped_ptr<FFmpegGlue> glue_;
82 glue_.reset(new FFmpegGlue(protocol_.get()));
83 CHECK(glue_->format_context());
84 CHECK(glue_->format_context()->pb);
89 CHECK(glue_.get());
92 // |glue_| should be destroyed before |protocol_|.
93 glue_.reset();
101 scoped_ptr<FFmpegGlue> glue_;
112 ASSERT_FALSE(glue_->format_context()->pb->write_packet);
113 ASSERT_FALSE(glue_->format_context()->pb->write_flag);
214 ASSERT_FALSE(glue_->OpenContext());
221 ASSERT_TRUE(glue_->OpenContext());
228 ASSERT_TRUE(glue_->OpenContext());
235 ASSERT_TRUE(glue_->OpenContext());
236 ASSERT_GT(glue_->format_context()->nb_streams, 0u);
238 AVCodecContext* context = glue_->format_context()->streams[0]->codec;