Make this comment a bit more helpful

This commit is contained in:
David Sansome 2010-05-03 20:10:55 +00:00
parent e24efe390c
commit c1384f0a0c
1 changed files with 3 additions and 1 deletions

View File

@ -176,7 +176,9 @@ GstBusSyncReply Transcoder::BusCallbackSync(GstBus*, GstMessage* msg, gpointer d
}
bool Transcoder::Transcode(const Job &job) const {
// Create the pipeline
// Create the pipeline.
// This should be a scoped_ptr, but scoped_ptr doesn't support custom
// destructors.
shared_ptr<GstElement> pipeline(gst_pipeline_new("pipeline"),
boost::bind(gst_object_unref, _1));
if (!pipeline) return false;