equal
deleted
inserted
replaced
134 case EEikCmdExit: |
134 case EEikCmdExit: |
135 case EAknSoftkeyExit: |
135 case EAknSoftkeyExit: |
136 if (pipeline!=NULL && pipeline ->current_state |
136 if (pipeline!=NULL && pipeline ->current_state |
137 == GST_STATE_PLAYING) |
137 == GST_STATE_PLAYING) |
138 { |
138 { |
139 |
139 gst_element_send_event (pipeline, gst_event_new_eos ()); |
140 gst_element_set_state(pipeline, GST_STATE_NULL); |
140 gst_element_set_state(pipeline, GST_STATE_NULL); |
141 gst_object_unref(GST_OBJECT (pipeline)); |
141 gst_object_unref(GST_OBJECT (pipeline)); |
142 |
142 |
143 } |
143 } |
144 Exit(); |
144 Exit(); |