X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Fgsttagsetter.c;h=ea54c3574ef881328a26b093cc3019f7f72f2e93;hb=e6bd5b41935f125bf43e030dcb909c3537d33b31;hp=dca1ccb1bb16adf0b0deb1ac09e049716fde3c50;hpb=d11e657412e657f9a5146680ca8fd703574b63f2;p=platform%2Fupstream%2Fgstreamer.git diff --git a/gst/gsttagsetter.c b/gst/gsttagsetter.c index dca1ccb..ea54c35 100644 --- a/gst/gsttagsetter.c +++ b/gst/gsttagsetter.c @@ -21,6 +21,7 @@ /** * SECTION:gsttagsetter + * @title: GstTagsetter * @short_description: Element interface that allows setting and retrieval * of media metadata * @@ -29,7 +30,7 @@ * Elements that support changing a stream's metadata will implement this * interface. Examples of such elements are 'vorbisenc', 'theoraenc' and * 'id3v2mux'. - * + * * If you just want to retrieve metadata in your application then all you * need to do is watch for tag messages on your pipeline's bus. This * interface is only for setting metadata, not for extracting it. To set tags @@ -38,7 +39,7 @@ * setting the #GstTagMergeMode that is used for tag events that arrive at the * tagsetter element (default mode is to keep existing tags). * The application should do that before the element goes to %GST_STATE_PAUSED. - * + * * Elements implementing the #GstTagSetter interface often have to merge * any tags received from upstream and the tags set by the application via * the interface. This can be done like this: @@ -49,19 +50,19 @@ * const GstTagList *event_tags; * GstTagSetter *tagsetter; * GstTagList *result; - * + * * tagsetter = GST_TAG_SETTER (element); - * + * * merge_mode = gst_tag_setter_get_tag_merge_mode (tagsetter); * application_tags = gst_tag_setter_get_tag_list (tagsetter); * event_tags = (const GstTagList *) element->event_tags; - * + * * GST_LOG_OBJECT (tagsetter, "merging tags, merge mode = %d", merge_mode); * GST_LOG_OBJECT (tagsetter, "event tags: %" GST_PTR_FORMAT, event_tags); * GST_LOG_OBJECT (tagsetter, "set tags: %" GST_PTR_FORMAT, application_tags); - * + * * result = gst_tag_list_merge (application_tags, event_tags, merge_mode); - * + * * GST_LOG_OBJECT (tagsetter, "final tags: %" GST_PTR_FORMAT, result); * ]| */